Skip to content

Commit

Permalink
Fix raw string warning in Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcAudy committed Jul 29, 2024
1 parent e2c2992 commit 3f3bcdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion P4Transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3f3bcdf

Please sign in to comment.