summaryrefslogtreecommitdiff
path: root/nova/virt/configdrive.py
diff options
context:
space:
mode:
authorZhongyue Luo <zhongyue.nah@intel.com>2013-06-10 14:43:41 +0800
committerZhongyue Luo <zhongyue.nah@intel.com>2013-06-11 13:28:29 +0900
commitab1977af316eef5375c7aaefdf364548b4fb5289 (patch)
treeabdded324a0220e9b17b78e5dc5c18c94b1f2b2d /nova/virt/configdrive.py
parentf85e4ec079283f4217415b4fd6a37ced189bc49a (diff)
downloadnova-ab1977af316eef5375c7aaefdf364548b4fb5289.tar.gz
Replace functions in utils with oslo.fileutils
The following functions have moved to oslo. remove_path_on_error file_open delete_if_exists Replaced/removed overlapping functions with the ones in fileutils Change-Id: I41a19d76a777b6f899843bb0cc0582630accbd5c
Diffstat (limited to 'nova/virt/configdrive.py')
-rw-r--r--nova/virt/configdrive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/configdrive.py b/nova/virt/configdrive.py
index 57e5155c82..173dd457bc 100644
--- a/nova/virt/configdrive.py
+++ b/nova/virt/configdrive.py
@@ -169,7 +169,7 @@ class ConfigDriveBuilder(object):
def cleanup(self):
if self.imagefile:
- utils.delete_if_exists(self.imagefile)
+ fileutils.delete_if_exists(self.imagefile)
try:
shutil.rmtree(self.tempdir)