This is an archive of the discontinued Mercurial Phabricator instance.

obsutil: work around filter() being a generator in Python 3
ClosedPublic

Authored by durin42 on Jan 18 2018, 1:17 PM.

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.Jan 18 2018, 1:17 PM
pulkit accepted this revision.Jan 19 2018, 2:40 AM
indygreg accepted this revision.Feb 1 2018, 6:32 PM
indygreg added a subscriber: indygreg.

Writing this as a generator expression /might/ be a bit better. But I don't think perf is an issue here.

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