##// END OF EJS Templates
py3: listify filter() to call len() on it...
Pulkit Goyal -
r40840:bad0053e default
parent child Browse files
Show More
@@ -526,7 +526,8 b' class repacker(object):'
526
526
527 # Filter orderednodes to just the nodes we want to serialize (it
527 # Filter orderednodes to just the nodes we want to serialize (it
528 # currently also has the edge nodes' ancestors).
528 # currently also has the edge nodes' ancestors).
529 orderednodes = filter(lambda node: node in nodes, orderednodes)
529 orderednodes = list(filter(lambda node: node in nodes,
530 orderednodes))
530
531
531 # Garbage collect old nodes:
532 # Garbage collect old nodes:
532 if self.garbagecollect:
533 if self.garbagecollect:
General Comments 0
You need to be logged in to leave comments. Login now