diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-04-19 11:40:53 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-04-19 11:40:53 +0300 |
commit | 0ab0bf709330b479014d6ab20b6350dee2fd9b9c (patch) | |
tree | f92007647e22efae187023b846a52244873837b9 | |
parent | 1a22b6193a3b0f24858631f5b56d4f7dd89d674f (diff) | |
download | vmdb2-0ab0bf709330b479014d6ab20b6350dee2fd9b9c.tar.gz |
Fix: check for file existing
-rw-r--r-- | vmdb/plugins/mkpart_plugin.py | 2 |
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) |