summaryrefslogtreecommitdiff
path: root/nova/virt/libvirt/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/virt/libvirt/utils.py')
-rw-r--r--nova/virt/libvirt/utils.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/nova/virt/libvirt/utils.py b/nova/virt/libvirt/utils.py
index b334be3439..3865fa0f57 100644
--- a/nova/virt/libvirt/utils.py
+++ b/nova/virt/libvirt/utils.py
@@ -318,26 +318,6 @@ def file_open(*args, **kwargs):
return open(*args, **kwargs)
-def file_delete(path):
- """Delete (unlink) file
-
- Note: The reason this is kept in a separate module is to easily
- be able to provide a stub module that doesn't alter system
- state at all (for unit tests)
- """
- return os.unlink(path)
-
-
-def path_exists(path):
- """Returns if path exists
-
- Note: The reason this is kept in a separate module is to easily
- be able to provide a stub module that doesn't alter system
- state at all (for unit tests)
- """
- return os.path.exists(path)
-
-
def find_disk(guest):
"""Find root device path for instance