This is an archive of the discontinued Mercurial Phabricator instance.

narrowbundle2: replace map() with equivalent list comprehension
ClosedPublic

Authored by durin42 on Feb 21 2018, 12:42 PM.

Details

Summary

The result of this gets used as a list in core code, so the generator
returned by map() on Python 3 is a problem.

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

durin42 created this revision.Feb 21 2018, 12:42 PM
pulkit accepted this revision.Feb 21 2018, 12:58 PM
indygreg accepted this revision.Feb 21 2018, 10:10 PM
indygreg added a subscriber: indygreg.

I'll fix the double space in flight.

This revision is now accepted and ready to land.Feb 21 2018, 10:10 PM
This revision was automatically updated to reflect the committed changes.