[PATCH] fix "global name 'execfile' not defined" - Mailing list pgadmin-hackers

From Sebastiaan van Stijn
Subject [PATCH] fix "global name 'execfile' not defined"
Date
Msg-id FA7EB991-E848-4C27-9C38-F002115BC8D1@gmail.com
Whole thread Raw
List pgadmin-hackers
execfile was removed in Python 3.0. This
uses 'exec(open(filename).read())' as an
alternative, which works on all Python
versions.

Signed-off-by: Sebastiaan van Stijn <thajeztah@gmail.com>


Attachment

pgadmin-hackers by date:

Previous
From: Murtuza Zabuawala
Date:
Subject: PATCH: To fixed uncomment issue (pgAdmin4)
Next
From: Surinder Kumar
Date:
Subject: [pgAdmin4][Patch]: RM#1330 - Syntax error while running pgadmin_beta with python2.6.9