pgAdmin 4 commit: Fix "global name 'execfile' not defined".

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Fix "global name 'execfile' not defined".
Date: 2016-06-13 15:24:57
Message-ID: E1bCTjV-00023w-Gv@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Fix "global name 'execfile' not defined".

execfile was removed in Python 3.0. This
uses 'exec(open(filename).read())' as an
alternative, which works on all Python
versions.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=8b770ae479429edf8438b8cf459c312c1f3c0a96
Author: Sebastiaan van Stijn <thajeztah(at)gmail(dot)com>

Modified Files
--------------
web/pgAdmin4.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-06-13 15:35:14 pgAdmin 4 commit: Fix file type detection for Python 2.6. Fixes #1330
Previous Message Dave Page 2016-06-13 15:23:00 Re: PATCH: To fixed uncomment issue (pgAdmin4)