]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
samba-tool: Fix invalid escape sequences
authorJennifer Sutton <jennifersutton@catalyst.net.nz>
Thu, 30 Jan 2025 01:27:10 +0000 (14:27 +1300)
committerJo Sutton <jsutton@samba.org>
Mon, 26 May 2025 03:44:44 +0000 (03:44 +0000)
Signed-off-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Jo Sutton <jsutton@samba.org>
Autobuild-Date(master): Mon May 26 03:44:44 UTC 2025 on atb-devel-224

python/samba/tests/samba_tool/join_member.py

index c2ab02ff542fb591eb4da20d48cd9cac36373693..edc97824153ef6fc25495da5faf587cffff4f440 100644 (file)
@@ -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: