summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2012-11-15 19:41:58 -0500
committerMark McLoughlin <markmc@redhat.com>2012-11-17 16:30:03 +0000
commit6e92a67fc3e6dcd587e3fd225b7142bc74116e52 (patch)
tree0c25405e1b7bd383c3801244645be8b76b408e40 /tools
parent0e932e6b2390ee8731134cfdb1dcdea3adfc8062 (diff)
downloadnova-6e92a67fc3e6dcd587e3fd225b7142bc74116e52.tar.gz
nova-6e92a67fc3e6dcd587e3fd225b7142bc74116e52.tar.xz
nova-6e92a67fc3e6dcd587e3fd225b7142bc74116e52.zip
Remove nova.flags
Now that options have all moved from nova.flags to nova.config, we can safely remove the nova.flags imports and replace them with nova.config imports. Change-Id: Ic077a72dd6419bbf1e1babe71acfa43c4e8b55c8
Diffstat (limited to 'tools')
-rw-r--r--tools/xenserver/destroy_cached_images.py2
-rwxr-xr-xtools/xenserver/vm_vdi_cleaner.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/tools/xenserver/destroy_cached_images.py b/tools/xenserver/destroy_cached_images.py
index 01d68b4f6..88f24f4ef 100644
--- a/tools/xenserver/destroy_cached_images.py
+++ b/tools/xenserver/destroy_cached_images.py
@@ -26,7 +26,7 @@ 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 import config
from nova.openstack.common import cfg
from nova.openstack.common import log as logging
from nova import utils
diff --git a/tools/xenserver/vm_vdi_cleaner.py b/tools/xenserver/vm_vdi_cleaner.py
index 10f9c1ffe..89fc454b1 100755
--- a/tools/xenserver/vm_vdi_cleaner.py
+++ b/tools/xenserver/vm_vdi_cleaner.py
@@ -31,7 +31,6 @@ from nova import config
from nova import context
from nova import db
from nova import exception
-from nova import flags
from nova.openstack.common import timeutils
from nova.virt.xenapi import driver as xenapi_driver