1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-19 12:23:49 +03:00

python:tests: Fix invalid escape sequences

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton
2023-09-11 11:59:34 +12:00
committed by Andrew Bartlett
parent c0795c807a
commit 26ff87dcfe
3 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ HASH_OPTION = "password hash userPassword schemes"
def _get_attribute(out, name):
p = re.compile("^" + name + ":\s+(\S+)")
p = re.compile("^" + name + r":\s+(\S+)")
for line in out.split("\n"):
m = p.match(line)
if m: