diff options
| author | Mark McLoughlin <markmc@redhat.com> | 2012-05-29 08:57:58 +0100 |
|---|---|---|
| committer | Mark McLoughlin <markmc@redhat.com> | 2012-05-30 21:24:53 +0100 |
| commit | 00786bc554a2dfacb3c6f02fbb7e9c98f35d4262 (patch) | |
| tree | 93cc4a0cd0af8a9db30eb5fa02365f0f01207627 /tools | |
| parent | d7e613dabc2dbc28d9405a5b450dc2b4dfa9d47b (diff) | |
| download | nova-00786bc554a2dfacb3c6f02fbb7e9c98f35d4262.tar.gz nova-00786bc554a2dfacb3c6f02fbb7e9c98f35d4262.tar.xz nova-00786bc554a2dfacb3c6f02fbb7e9c98f35d4262.zip | |
Use cfg's new global CONF object
Implements blueprint cfg-global-object
Replace nova.flags.FLAGS with openstack.common.cfg.CONF.
In future, we can do a s/FLAGS/CONF/ across the codebase.
Change-Id: Ib293873089a5399febd7a3b0410f66e9bef115f1
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/xenserver/vm_vdi_cleaner.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/xenserver/vm_vdi_cleaner.py b/tools/xenserver/vm_vdi_cleaner.py index 0e423462b..bccf50b25 100755 --- a/tools/xenserver/vm_vdi_cleaner.py +++ b/tools/xenserver/vm_vdi_cleaner.py @@ -40,8 +40,7 @@ FLAGS = flags.FLAGS # flagfile. To isolate this awful practice, we're supplying a dummy # argument list. dummy = ["fakearg"] -utils.default_cfgfile(args=dummy) -FLAGS(dummy) +flags.parse_args(dummy) class UnrecognizedNameLabel(Exception): |
