[Webkit-unassigned] [Bug 260729] SyntaxWarning when running 'git-webkit pr'
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 25 12:34:07 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=260729
--- Comment #2 from Michael Catanzaro <mcatanzaro at redhat.com> ---
Here is a fix:
diff --git a/Tools/Scripts/webkitpy/common/checkout/checkout.py b/Tools/Scripts/webkitpy/common/checkout/checkout.py
index aefa8c7b4d05..e2f72653e70c 100644
--- a/Tools/Scripts/webkitpy/common/checkout/checkout.py
+++ b/Tools/Scripts/webkitpy/common/checkout/checkout.py
@@ -49,8 +49,8 @@ if sys.version_info > (3, 0):
# FIXME: Move a bunch of ChangeLog-specific processing from SCM to this object.
# NOTE: All paths returned from this class should be absolute.
class Checkout(object):
- COMMIT_SUBJECT_RE = re.compile(b'Subject: \[PATCH ?(\d+\/\d+)?] (.+)')
- FILTER_BRANCH_PROGRAM = '''import re
+ COMMIT_SUBJECT_RE = re.compile(r'Subject: \[PATCH ?(\d+\/\d+)?] (.+)')
+ FILTER_BRANCH_PROGRAM = r'''import re
import sys
lines = [l for l in sys.stdin]
I will create a pull request for this after bug #260726 is fixed.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230825/0c9fb646/attachment-0001.htm>
More information about the webkit-unassigned
mailing list