Page MenuHomePhabricator

py3: use raw string for file open mode
ClosedPublic

Authored by indygreg on Feb 11 2018, 5:57 PM.

Details

Summary

Otherwise the module importer rewrites it to bytes on Python 3,
which angers 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

indygreg created this revision.Feb 11 2018, 5:57 PM
This revision was automatically updated to reflect the committed changes.