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 /nova/flags.py | |
parent | dd086638b8c6e43f275fc45b3fc7df2de90bb2c2 (diff) | |
download | nova-efede80046e0504dc8a68ab5447f97b05c02dd7a.tar.gz nova-efede80046e0504dc8a68ab5447f97b05c02dd7a.tar.xz nova-efede80046e0504dc8a68ab5447f97b05c02dd7a.zip |
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 'nova/flags.py')
-rw-r--r-- | nova/flags.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/nova/flags.py b/nova/flags.py index 7d09915a5..a27674472 100644 --- a/nova/flags.py +++ b/nova/flags.py @@ -36,13 +36,6 @@ from nova.openstack.common import cfg FLAGS = cfg.CONF -def parse_args(argv, default_config_files=None): - FLAGS.disable_interspersed_args() - return argv[:1] + FLAGS(argv[1:], - project='nova', - default_config_files=default_config_files) - - class UnrecognizedFlag(Exception): pass |