( )⚙ D12307 hgweb: simplify uenv assignment

This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: simplify uenv assignment
ClosedPublic

Authored by indygreg on Mar 2 2022, 6:31 PM.

Details

Summary

We don't need the Python 3 conditional. We can call items() directly
since we're on Python 3 now.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Mar 2 2022, 6:31 PM
Alphare accepted this revision.Mar 3 2022, 5:38 AM
This revision is now accepted and ready to land.Mar 3 2022, 5:38 AM
This revision was automatically updated to reflect the committed changes.