mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
gp: 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
5badceeee3
commit
65ab33dffa
@ -747,7 +747,7 @@ def rsop(lp, creds, store, gp_extensions, username, target):
|
||||
print('='*term_width)
|
||||
for ext in gp_extensions:
|
||||
ext = ext(lp, creds, username, store)
|
||||
cse_name_m = re.findall("'([\w\.]+)'", str(type(ext)))
|
||||
cse_name_m = re.findall(r"'([\w\.]+)'", str(type(ext)))
|
||||
if len(cse_name_m) > 0:
|
||||
cse_name = cse_name_m[-1].split('.')[-1]
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user