( )⚙ D1077 hgweb: rewrite two X or Y and Z ad-hoc ternaries with Y if X else Z

This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: rewrite two X or Y and Z ad-hoc ternaries with Y if X else Z
ClosedPublic

Authored by durin42 on Oct 14 2017, 4:16 PM.

Details

Summary

Just easier to muddle through for my brain now that I don't see the
old pattern much anymore.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

durin42 created this revision.Oct 14 2017, 4:16 PM
indygreg accepted this revision.Oct 14 2017, 4:50 PM
This revision is now accepted and ready to land.Oct 14 2017, 4:50 PM
This revision was automatically updated to reflect the committed changes.