summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/dump.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/utils/dump.py')
-rw-r--r--meta/lib/oeqa/utils/dump.py2
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):
14 def __init__(self, d, cmds): 14 def __init__(self, d, cmds):
15 self.cmds = [] 15 self.cmds = []
16 self.parent_dir = d.getVar("TESTIMAGE_DUMP_DIR", True) 16 self.parent_dir = d.getVar("TESTIMAGE_DUMP_DIR", True)
17 if not cmds:
18 return
17 for cmd in cmds.split('\n'): 19 for cmd in cmds.split('\n'):
18 cmd = cmd.lstrip() 20 cmd = cmd.lstrip()
19 if not cmd or cmd[0] == '#': 21 if not cmd or cmd[0] == '#':