This is an archive of the discontinued Mercurial Phabricator instance.

py3: use `except error as e` instead of `except error, e`
ClosedPublic

Authored by pulkit on May 19 2018, 10:41 AM.

Details

Summary

The latter throws SyntaxError on Python 3.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.May 19 2018, 10:41 AM
This revision was automatically updated to reflect the committed changes.