Use new flag API

This changed since 00786bc554a2dfacb3c6f02fbb7e9c98f35d4262 for blueprint
cfg-global-object in Nova.

Change-Id: Iaae34a1e4953c964b99411247219f7b72358823f
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
This commit is contained in:
Julien Danjou 2012-06-04 10:24:33 +02:00
parent f9d7414973
commit 6fa69bbdcc
2 changed files with 2 additions and 4 deletions

View File

@ -28,8 +28,7 @@ from nova import service
from nova import utils from nova import utils
if __name__ == '__main__': if __name__ == '__main__':
utils.default_cfgfile() flags.parse_args(sys.argv)
flags.FLAGS(sys.argv)
logging.setup() logging.setup()
utils.monkey_patch() utils.monkey_patch()
server = \ server = \

View File

@ -28,8 +28,7 @@ from nova import service
from nova import utils from nova import utils
if __name__ == '__main__': if __name__ == '__main__':
utils.default_cfgfile() flags.parse_args(sys.argv)
flags.FLAGS(sys.argv)
logging.setup() logging.setup()
utils.monkey_patch() utils.monkey_patch()
server = \ server = \