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-cert | |
| 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-cert')
| -rwxr-xr-x | bin/nova-cert | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/nova-cert b/bin/nova-cert index ebdd0e0b9..317739329 100755 --- a/bin/nova-cert +++ b/bin/nova-cert @@ -32,13 +32,14 @@ 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 from nova import utils if __name__ == '__main__': - flags.parse_args(sys.argv) + config.parse_args(sys.argv) FLAGS = flags.FLAGS logging.setup("nova") utils.monkey_patch() |
