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

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

From
Sebastiaan van Stijn
Date:
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