Move default_flagfile() call to where it will be parsed in time to load the flagfile
This commit is contained in:
@@ -38,8 +38,8 @@ from nova import utils
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
utils.default_flagfile()
|
||||
twistd.serve(__file__)
|
||||
|
||||
if __name__ == '__builtin__':
|
||||
utils.default_flagfile()
|
||||
application = service.Service.create() # pylint: disable-msg=C0103
|
||||
|
||||
Reference in New Issue
Block a user