/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/tests/test_graph.py

  • Committer: Martin
  • Date: 2017-06-05 20:48:31 UTC
  • mto: This revision was merged to the branch mainline in revision 6658.
  • Revision ID: gzlist@googlemail.com-20170605204831-20accykspjcrx0a8
Apply 2to3 dict fixer and clean up resulting mess using view helpers

Show diffs side-by-side

added added

removed removed

Lines of Context:
497
497
        """
498
498
        pending = [NULL_REVISION]
499
499
        descendants = {}
500
 
        for descendant, parents in ancestors.iteritems():
 
500
        for descendant, parents in ancestors.items():
501
501
            for parent in parents:
502
502
                descendants.setdefault(parent, []).append(descendant)
503
503
        while len(pending) > 0: