( )⚙ 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
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Mar 2 2019, 4:26 PM
This revision was automatically updated to reflect the committed changes.