python3: replace execfile usage
This commit is contained in:
parent
8e5b2ee686
commit
0ff596b5e6
|
@ -315,4 +315,4 @@ NEWSLETTERS_CELL_ENABLED = False
|
|||
local_settings_file = os.environ.get('COMBO_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