mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
selftest: Don't use invalid escape sequences
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
5c8fbeb61e
commit
dfe759c1fd
@ -76,7 +76,7 @@ def parse_results(msg_ops, statistics, fh):
|
||||
elif command in VALID_RESULTS:
|
||||
msg_ops.control_msg(l)
|
||||
result = command
|
||||
grp = re.match("(.*?)( \[)?([ \t]*)( multipart)?\n", arg)
|
||||
grp = re.match(r"(.*?)( \[)?([ \t]*)( multipart)?\n", arg)
|
||||
(testname, hasreason) = (grp.group(1), grp.group(2))
|
||||
if hasreason:
|
||||
reason = ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user