py3: use raw strings and %d for formatting
ClosedPublic

Authored by indygreg on Feb 10 2019, 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
Lint Skipped
Unit
Unit Tests Skipped
indygreg created this revision.Feb 10 2019, 5:05 PM
This revision was automatically updated to reflect the committed changes.