obsutil: work around filter() being a generator in Python 3
Differential Revision: https://phab.mercurial-scm.org/D1910
--- a/mercurial/obsutil.py Thu Jan 18 12:59:40 2018 -0500
+++ b/mercurial/obsutil.py Thu Jan 18 13:04:16 2018 -0500
@@ -421,10 +421,10 @@
# Check if other meta has changed
changeextra = changectx.extra().items()
- ctxmeta = filter(metanotblacklisted, changeextra)
+ ctxmeta = list(filter(metanotblacklisted, changeextra))
sourceextra = source.extra().items()
- srcmeta = filter(metanotblacklisted, sourceextra)
+ srcmeta = list(filter(metanotblacklisted, sourceextra))
if ctxmeta != srcmeta:
effects |= METACHANGED