commit | bbbe1dcd7fbca7f4cc44a9dc0a2df935a47d6516 | [log] [tgz] |
---|---|---|
author | koder aka kdanilov <kdanilov@mirantis.com> | Tue Dec 20 01:19:56 2016 +0200 |
committer | koder aka kdanilov <kdanilov@mirantis.com> | Tue Dec 20 01:19:56 2016 +0200 |
tree | 381f4de30fa0714d68136f9f2a6a6cf783108e58 | |
parent | 3af3c3373552d66f3b1f87da8c0709f995418dc9 [diff] [blame] |
fixing fio runner
diff --git a/wally/storage.py b/wally/storage.py index 93a7cdd..a17e3c0 100644 --- a/wally/storage.py +++ b/wally/storage.py
@@ -105,6 +105,9 @@ def list(self, path: str = "") -> Iterator[Tuple[bool, str]]: jpath = self.j(path) + if not os.path.exists(jpath): + return + for entry in os.scandir(jpath): if not entry.name in ('..', '.'): yield entry.is_file(), entry.name