( )⚙ D6048 attr: don't attempt to .encode() a str on Python 2

This is an archive of the discontinued Mercurial Phabricator instance.

attr: don't attempt to .encode() a str on Python 2
ClosedPublic

Authored by indygreg on Mar 2 2019, 4:26 PM.

Details

Summary

Otherwise it coerces automatically.

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.Mar 2 2019, 4:26 PM
This revision was automatically updated to reflect the committed changes.