[webkit-changes] [WebKit/WebKit] ade70b: SyntaxWarning when running 'git-webkit pr'

Michael Catanzaro noreply at github.com
Fri Sep 1 10:48:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ade70bdb664e933e1244458b55965b877df48e51
      https://github.com/WebKit/WebKit/commit/ade70bdb664e933e1244458b55965b877df48e51
  Author: Michael Catanzaro <mcatanzaro at redhat.com>
  Date:   2023-09-01 (Fri, 01 Sep 2023)

  Changed paths:
    M Tools/Scripts/webkitpy/common/checkout/checkout.py

  Log Message:
  -----------
  SyntaxWarning when running 'git-webkit pr'
https://bugs.webkit.org/show_bug.cgi?id=260729

Reviewed by Jonathan Bedard.

The backslashes here are python string escapes, but they were intended
to be regex escapes. Each \ would need to be replaced with \\ for them
to function as regex escapes. We can use raw string notation to avoid
this problem.

* Tools/Scripts/webkitpy/common/checkout/checkout.py:
(Checkout):

Canonical link: https://commits.webkit.org/267558@main




More information about the webkit-changes mailing list