hgext/blackbox.py
changeset 41532 bd3f03d8cc9f
parent 41365 876494fd967d
child 42615 56132ebd14c6
--- a/hgext/blackbox.py	Mon Feb 04 09:29:25 2019 -0800
+++ b/hgext/blackbox.py	Mon Feb 04 08:54:30 2019 -0800
@@ -190,7 +190,7 @@
             break
 
         # count the commands by matching lines like: 2013/01/23 19:13:36 root>
-        if re.match('^\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} .*> .*', line):
+        if re.match(br'^\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} .*> .*', line):
             count += 1
         output.append(line)