This is an archive of the discontinued Mercurial Phabricator instance.

exchange: remove need for "locked" variable
ClosedPublic

Authored by martinvonz on Aug 14 2017, 7:46 PM.

Details

Summary

The transactionmanager() constructor just assigned a few variables and
cannot fail, so it's safe to move it inside the earlier try/except.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Aug 14 2017, 7:46 PM
indygreg accepted this revision.Aug 14 2017, 9:29 PM
This revision is now accepted and ready to land.Aug 14 2017, 9:29 PM
This revision was automatically updated to reflect the committed changes.