( )⚙ D5721 sslutil: use raw strings for exception reason compare

This is an archive of the discontinued Mercurial Phabricator instance.

sslutil: use raw strings for exception reason compare
ClosedPublic

Authored by indygreg on Jan 26 2019, 5:33 PM.

Details

Summary

Otherwise we attempt to compare a bytes to a str on Python 3
and it always fails.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Jan 26 2019, 5:33 PM
pulkit accepted this revision.Jan 26 2019, 6:05 PM
This revision was automatically updated to reflect the committed changes.