misc: update various parts for Python 3 compatibility (missed bit, pt3) (#36093)
This commit is contained in:
parent
98f200f348
commit
1ded6ea0cb
|
@ -38,4 +38,4 @@ CELERY_SETTINGS = {
|
|||
|
||||
# run additional settings snippets
|
||||
ETC_DIR = '/etc/hobo-agent'
|
||||
execfile('/usr/lib/hobo/debian_config_settings_d.py')
|
||||
exec(open('/usr/lib/hobo/debian_config_settings_d.py').read())
|
||||
|
|
|
@ -2,4 +2,4 @@ import glob
|
|||
import os
|
||||
|
||||
for filename in sorted(glob.glob(os.path.join(ETC_DIR, 'settings.d', '*.py'))):
|
||||
execfile(filename)
|
||||
exec(open(filename).read())
|
||||
|
|
Loading…
Reference in New Issue