Show More
@@ -148,10 +148,11 b' def allpredecessors(obsstore, nodes, ign' | |||||
148 |
|
148 | |||
149 | remaining = set(nodes) |
|
149 | remaining = set(nodes) | |
150 | seen = set(remaining) |
|
150 | seen = set(remaining) | |
|
151 | prec = obsstore.predecessors.get | |||
151 | while remaining: |
|
152 | while remaining: | |
152 | current = remaining.pop() |
|
153 | current = remaining.pop() | |
153 | yield current |
|
154 | yield current | |
154 |
for mark in |
|
155 | for mark in prec(current, ()): | |
155 | # ignore marker flagged with specified flag |
|
156 | # ignore marker flagged with specified flag | |
156 | if mark[2] & ignoreflags: |
|
157 | if mark[2] & ignoreflags: | |
157 | continue |
|
158 | continue |
General Comments 0
You need to be logged in to leave comments.
Login now