py3: use exec instead of execfile
This commit is contained in:
parent
f170c77aa6
commit
8d1c3fc7d3
|
@ -56,4 +56,4 @@ MIN_AGE = 60
|
|||
local_settings_file = os.environ.get('EOBUILDER_SETTINGS_FILE',
|
||||
os.path.join(os.path.dirname(__file__), 'local_settings.py'))
|
||||
if os.path.exists(local_settings_file):
|
||||
execfile(local_settings_file)
|
||||
exec(open(local_settings_file).read())
|
||||
|
|
Loading…
Reference in New Issue