( )⚙ D6111 py3: use r'' for group name arguments to MatchObjects in phabricator.py

This is an archive of the discontinued Mercurial Phabricator instance.

py3: use r'' for group name arguments to MatchObjects in phabricator.py
ClosedPublic

Authored by Kwan on Mar 8 2019, 10:01 PM.

Details

Summary

MatchObject group names are strings, not bytes. Using bytes in py3 leads to an
IndexError.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

Kwan created this revision.Mar 8 2019, 10:01 PM
This revision was automatically updated to reflect the committed changes.