From: Jennifer Sutton Date: Thu, 30 Jan 2025 01:27:10 +0000 (+1300) Subject: samba-tool: Fix invalid escape sequences X-Git-Tag: tevent-0.17.0~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51b7bc61c6fd04f6e3b33efe4ac300ba8a6658d5;p=thirdparty%2Fsamba.git samba-tool: Fix invalid escape sequences Signed-off-by: Jennifer Sutton Reviewed-by: Douglas Bagnall Autobuild-User(master): Jo Sutton Autobuild-Date(master): Mon May 26 03:44:44 UTC 2025 on atb-devel-224 --- diff --git a/python/samba/tests/samba_tool/join_member.py b/python/samba/tests/samba_tool/join_member.py index c2ab02ff542..edc97824153 100644 --- a/python/samba/tests/samba_tool/join_member.py +++ b/python/samba/tests/samba_tool/join_member.py @@ -40,7 +40,7 @@ class JoinMemberCmdTestCase(SambaToolCmdTest): os.environ["DC_PASSWORD"])) self.assertCmdSuccess(result, out, err, 'Failed to find the record') - existing_records = re.findall('A:\s+(\d+\.\d+\.\d+\.\d+)\s', out) + existing_records = re.findall(r'A:\s+(\d+\.\d+\.\d+\.\d+)\s', out) # Remove the existing records for record in existing_records: