Merge ~calvinmwadime/ubuntu-release-upgrader:fix_invalid_escape_sequence into ubuntu-release-upgrader:ubuntu/main
Proposed by
Calvin Mwadime Makokha
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | a02cf1c450739438b8600ee876892c16ef9615c5 | ||||
Proposed branch: | ~calvinmwadime/ubuntu-release-upgrader:fix_invalid_escape_sequence | ||||
Merge into: | ubuntu-release-upgrader:ubuntu/main | ||||
Diff against target: |
87 lines (+10/-10) 2 files modified
DistUpgrade/DistUpgradeGettext.py (+2/-2) DistUpgrade/DistUpgradeQuirks.py (+8/-8) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nick Rosbrook | Approve | ||
Ubuntu Core Development Team | Pending | ||
Review via email: mp+463497@code.launchpad.net |
Commit message
fix(regex): fix invalid escape sequence error
Python 3.12 raises an SyntaxWarning about the invalid escape sequence when installing the package.
To post a comment you must log in.
Thanks Calvin, for picking up the issue.
Looks good to me.
Yet, I would prefer changing all invocations of re.search() in DistUpgrade/ DistUpgradeQuir ks.py to use raw strings to be consistent.
Best regards
Heinrich