py3: use raw strings and %d for formatting
ClosedPublic

Authored by indygreg on Sun, Feb 10, 5:05 PM.

Details

Summary

Before the string compares on Python 3 failed because we were
comparing bytes to str. Using raw strings ensures we are
always comparing str.

While we're here, also use %d to format integers.

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.
indygreg created this revision.Sun, Feb 10, 5:05 PM
This revision was automatically updated to reflect the committed changes.