Move parse_args to nova.config
The flags module will eventually be removed and this is a first step towards that. Change-Id: I729b08900e53e2ae6db10633dcff3be59720fa6f
This commit is contained in:
@@ -32,13 +32,14 @@ if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')):
|
||||
|
||||
|
||||
from nova.consoleauth import manager
|
||||
from nova import config
|
||||
from nova import flags
|
||||
from nova.openstack.common import log as logging
|
||||
from nova import service
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
flags.parse_args(sys.argv)
|
||||
config.parse_args(sys.argv)
|
||||
FLAGS = flags.FLAGS
|
||||
logging.setup("nova")
|
||||
server = service.Service.create(binary='nova-consoleauth',
|
||||
|
||||
Reference in New Issue
Block a user