( )⚙ D1100 wireproto: use listcomp instead of map()

This is an archive of the discontinued Mercurial Phabricator instance.

wireproto: use listcomp instead of map()
ClosedPublic

Authored by durin42 on Oct 15 2017, 9:30 PM.

Details

Summary

The latter returns a generator object on Python 3, which breaks
various parts of hg that expected a list.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

durin42 created this revision.Oct 15 2017, 9:30 PM
ryanmce accepted this revision.Oct 16 2017, 5:15 AM
ryanmce added a subscriber: ryanmce.

queued

This revision is now accepted and ready to land.Oct 16 2017, 5:15 AM
This revision was automatically updated to reflect the committed changes.