summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-04-19 08:46:36 +0000
committerLars Wirzenius <liw@liw.fi>2020-04-19 08:46:36 +0000
commite8ce540e7d29b77dffb4fb91fa8b9961368f947a (patch)
treef92007647e22efae187023b846a52244873837b9
parent1a22b6193a3b0f24858631f5b56d4f7dd89d674f (diff)
parent0ab0bf709330b479014d6ab20b6350dee2fd9b9c (diff)
downloadvmdb2-e8ce540e7d29b77dffb4fb91fa8b9961368f947a.tar.gz
Merge branch 'fixes' into 'master'
Fix: check for file existing See merge request larswirzenius/vmdb2!20
-rw-r--r--vmdb/plugins/mkpart_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdb/plugins/mkpart_plugin.py b/vmdb/plugins/mkpart_plugin.py
index bdd0159..bf33694 100644
--- a/vmdb/plugins/mkpart_plugin.py
+++ b/vmdb/plugins/mkpart_plugin.py
@@ -105,7 +105,7 @@ class MkpartStepRunner(vmdb.StepRunnerInterface):
]
def wait_for_file_to_exist(self, filename):
- while not os.file.exists(filename):
+ while not os.path.exists(filename):
time.sleep(1)