aboutsummaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
Diffstat (limited to 'debug')
-rw-r--r--debug/testlib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug/testlib.py b/debug/testlib.py
index 435b41b..9f048c0 100644
--- a/debug/testlib.py
+++ b/debug/testlib.py
@@ -483,7 +483,8 @@ class Openocd:
headers = lines[0].split()
data = []
for line in lines[2:]:
- data.append(dict(zip(headers, line.split()[1:])))
+ if line.strip():
+ data.append(dict(zip(headers, line.split()[1:])))
return data
def wait_until_running(self, harts):