Move default_flagfile() call to where it will be parsed in time to load the flagfile

This commit is contained in:
Michael Gundlach
2010-12-01 10:44:51 -06:00
parent e4717a651f
commit 67ce9dad05
6 changed files with 7 additions and 6 deletions

View File

@@ -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()