Commit eb3a3bdd authored by Bryton Lacquement's avatar Bryton Lacquement 🚪

fixup! Use raw strings for regular expression patterns

parent 883e023b
......@@ -7,7 +7,7 @@ import gzip
import argparse
import os
r = re.compile(rb"^(\[[^\]]+\]) (\[[^\]]+\]) (.*)$")
r = re.compile(br"^(\[[^\]]+\]) (\[[^\]]+\]) (.*)$")
def test(log_file, maximum_delay):
error_amount = 0
......
......@@ -7,7 +7,7 @@ import os
import sys
import re
r = re.compile(rb"^([0-9]+\-[0-9]+\-[0-9]+ [0-9]+\:[0-9]+\:[0-9]+)(\,[0-9]+) - ([A-z]+) (.*)$")
r = re.compile(br"^([0-9]+\-[0-9]+\-[0-9]+ [0-9]+\:[0-9]+\:[0-9]+)(\,[0-9]+) - ([A-z]+) (.*)$")
@implementer(interface.IPromise)
class RunPromise(GenericPromise):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment