diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/utils/dump.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/utils/dump.py b/meta/lib/oeqa/utils/dump.py index dc8757807e..95a79a571c 100644 --- a/meta/lib/oeqa/utils/dump.py +++ b/meta/lib/oeqa/utils/dump.py | |||
@@ -66,6 +66,7 @@ class BaseDumper(object): | |||
66 | 66 | ||
67 | def _write_dump(self, command, output): | 67 | def _write_dump(self, command, output): |
68 | fullname = self._construct_filename(command) | 68 | fullname = self._construct_filename(command) |
69 | os.makedirs(os.path.dirname(fullname), exist_ok=True) | ||
69 | if isinstance(self, MonitorDumper): | 70 | if isinstance(self, MonitorDumper): |
70 | with open(fullname, 'w') as json_file: | 71 | with open(fullname, 'w') as json_file: |
71 | json.dump(output, json_file, indent=4) | 72 | json.dump(output, json_file, indent=4) |