From ccdbc82219827853a4152ff37fc1eab6602bf83e Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Thu, 27 Jul 2017 13:34:54 -0700 Subject: [PATCH] Make pylint happy. --- debug/testlib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debug/testlib.py b/debug/testlib.py index 2aab8ab..debe368 100644 --- 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") -- 2.30.2