diff options
| author | Mark McLoughlin <markmc@redhat.com> | 2012-10-15 01:40:25 +0100 |
|---|---|---|
| committer | Mark McLoughlin <markmc@redhat.com> | 2012-11-04 21:37:39 +0000 |
| commit | efede80046e0504dc8a68ab5447f97b05c02dd7a (patch) | |
| tree | 91d38f5b23a25efc321b6df8e038444e07347bad /bin/nova-console | |
| parent | dd086638b8c6e43f275fc45b3fc7df2de90bb2c2 (diff) | |
Move parse_args to nova.config
The flags module will eventually be removed and this is a first step
towards that.
Change-Id: I729b08900e53e2ae6db10633dcff3be59720fa6f
Diffstat (limited to 'bin/nova-console')
| -rwxr-xr-x | bin/nova-console | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/nova-console b/bin/nova-console index f664040b7..92b99edfb 100755 --- a/bin/nova-console +++ b/bin/nova-console @@ -33,12 +33,13 @@ if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')): sys.path.insert(0, possible_topdir) +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-console', |
