projects
/
riscv-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1609f1
)
Make pylint happy.
author
Tim Newsome
<tim@sifive.com>
Thu, 27 Jul 2017 20:34:54 +0000
(13:34 -0700)
committer
Tim Newsome
<tim@sifive.com>
Thu, 27 Jul 2017 20:34:54 +0000
(13:34 -0700)
debug/testlib.py
patch
|
blob
|
history
diff --git
a/debug/testlib.py
b/debug/testlib.py
index 2aab8ab484d70349a358547121968dfbf0d6b4e1..debe3685af30182c68b7cda555917103e09e9b4a 100644
(file)
--- a/
debug/testlib.py
+++ b/
debug/testlib.py
@@
-207,10
+207,10
@@
class Openocd(object):
messaged = False
while True:
log = open(Openocd.logname).read()
- m = re.search("Listening on port (\d+) for gdb connections", log)
+ m = re.search(
r
"Listening on port (\d+) for gdb connections", log)
if m:
self.port = int(m.group(1))
- break
;
+ break
if not self.process.poll() is None:
header("OpenOCD log")