pgAdmin 4 commit: Fix "global name 'execfile' not defined". - Mailing list pgadmin-hackers

From Dave Page
Subject pgAdmin 4 commit: Fix "global name 'execfile' not defined".
Date
Msg-id E1bCTjV-00023w-Gv@gothos.postgresql.org
Whole thread Raw
List 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@gmail.com>

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


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: PATCH: To fixed uncomment issue (pgAdmin4)
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Fix file type detection for Python 2.6. Fixes #1330