/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/_known_graph_py.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-23 02:42:39 UTC
  • mto: (7211.10.3 git-empty-dirs)
  • mto: This revision was merged to the branch mainline in revision 7215.
  • Revision ID: jelmer@jelmer.uk-20181123024239-98hvkaawmi369om7
Fix two more tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
196
196
        # We use a deque rather than a simple list stack, to go for BFD rather
197
197
        # than DFD. So that if a longer path is possible, we walk it before we
198
198
        # get to the final child
199
 
        pending = collections.deque([node])
 
199
        pending = deque([node])
200
200
        while pending:
201
201
            node = pending.popleft()
202
202
            next_gdfo = node.gdfo + 1