diff options
-rw-r--r-- | meta/lib/oeqa/utils/dump.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/utils/dump.py b/meta/lib/oeqa/utils/dump.py index a76aede8c3..e71e1cd341 100644 --- a/meta/lib/oeqa/utils/dump.py +++ b/meta/lib/oeqa/utils/dump.py @@ -14,6 +14,8 @@ class BaseDumper(object): def __init__(self, d, cmds): self.cmds = [] self.parent_dir = d.getVar("TESTIMAGE_DUMP_DIR", True) + if not cmds: + return for cmd in cmds.split('\n'): cmd = cmd.lstrip() if not cmd or cmd[0] == '#': |