diff options
Diffstat (limited to 'test/CheckOptions.py')
-rwxr-xr-x | test/CheckOptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CheckOptions.py b/test/CheckOptions.py index cdd9b244..ff288794 100755 --- a/test/CheckOptions.py +++ b/test/CheckOptions.py @@ -60,7 +60,7 @@ class CheckOptions (object): def ledger_options(self): pipe = Popen('%s --debug option.names parse true' % self.ledger, shell=True, stdout=PIPE, stderr=PIPE) - regex = re.compile('\[DEBUG\]\s+Option:\s+(.*?)_?$') + regex = re.compile(r'\[DEBUG\]\s+Option:\s+(.*?)_?$') ledger_options = {match.group(1).replace('_', '-') for match in {regex.search(line.decode()) for line in pipe.stderr.readlines()} if match} return ledger_options |