From 6e92a67fc3e6dcd587e3fd225b7142bc74116e52 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Thu, 15 Nov 2012 19:41:58 -0500 Subject: 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 --- tools/xenserver/destroy_cached_images.py | 2 +- tools/xenserver/vm_vdi_cleaner.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'tools') 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 -- cgit