This is an archive of the discontinued Mercurial Phabricator instance.

crecord: use raw string for regular expression
ClosedPublic

Authored by indygreg on Feb 4 2019, 12:19 PM.

Details

Summary

\s emits a SyntaxWarning in Python 3.8. Use a raw string to
avoid escaping the \.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Feb 4 2019, 12:19 PM
This revision was automatically updated to reflect the committed changes.