This is an archive of the discontinued Mercurial Phabricator instance.

py3: byte-prefix sanitisation regexes in phabricator.py
ClosedPublic

Authored by Kwan on Sep 17 2019, 4:10 PM.

Details

Summary

So it doesn't die with "TypeError: cannot use a string pattern on a bytes-like
object".

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

Kwan created this revision.Sep 17 2019, 4:10 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.