From 3f3bcdfe6f99da83e336193791016be13bcd5c8a Mon Sep 17 00:00:00 2001 From: Marc Audy Date: Mon, 29 Jul 2024 15:31:46 -0700 Subject: [PATCH] Fix raw string warning in Python 3.12 Fix #27 --- P4Transfer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/P4Transfer.py b/P4Transfer.py index 3aa385b..fa6c2de 100755 --- a/P4Transfer.py +++ b/P4Transfer.py @@ -1623,7 +1623,7 @@ def replicateChange(self, fileRevs, specialMoveRevs, srcFileLogs, change, source self.p4.run(cmd) result = self.p4cmd("submit", "-c", m.group(1)) else: # Check for utf16 type problems and change them to binary to see if that works - re_transferProblems = re.compile(".*fix problems then use 'p4 submit -c ([0-9]+)'.\nSome file\(s\) could not be transferred from client") + re_transferProblems = re.compile(r".*fix problems then use 'p4 submit -c ([0-9]+)'.\nSome file\(s\) could not be transferred from client") re_translation = re.compile("Translation of file content failed near line [0-9]+ file (.*)") m = re_transferProblems.search(self.p4.errors[0]) if not m: