[PATCH] fix "global name 'execfile' not defined"

From: Sebastiaan van Stijn <thajeztah(at)gmail(dot)com>
To: pgadmin-hackers-request(at)postgresql(dot)org
Subject: [PATCH] fix "global name 'execfile' not defined"
Date: 2016-06-12 00:44:49
Message-ID: FA7EB991-E848-4C27-9C38-F002115BC8D1@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)com>

Attachment Content-Type Size
0001-fix-global-name-execfile-not-defined.patch application/octet-stream 982 bytes

Browse pgadmin-hackers by date

  From Date Subject
Next Message Julien Rouhaud 2016-06-12 17:58:10 Re: BUG #14183: pgAdminIII doesn't display NEGATOR entries
Previous Message Dave Page 2016-06-11 17:38:25 Re: Qt runtime issue on python 3 + patch