Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix raw string warning in Python 3.12 #31

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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