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:
committed by
Andrew Bartlett
parent
c0795c807a
commit
26ff87dcfe
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user