This is an archive of the discontinued Mercurial Phabricator instance.

narrow: use list comprehension instead of filter for filtering lists
ClosedPublic

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

Details

Summary

filter() returns a generator on Python 3, which causes these filters
to break things.

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:41 PM
pulkit accepted this revision.Feb 21 2018, 12:48 PM
indygreg accepted this revision.Feb 21 2018, 10:06 PM
This revision is now accepted and ready to land.Feb 21 2018, 10:06 PM
This revision was automatically updated to reflect the committed changes.