This is an archive of the discontinued Mercurial Phabricator instance.

py3: make sure decode() first argument is str
ClosedPublic

Authored by pulkit on Apr 12 2018, 8:06 AM.

Details

Summary

Uses pycompat.sysstr() to make sure we uses bytes on Python 2 and unicodes on
Python 3.

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

pulkit created this revision.Apr 12 2018, 8:06 AM
This revision was automatically updated to reflect the committed changes.