/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/per_branch/test_check.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:
96
96
                    'unknown ref kind for ref %s' % ref)
97
97
        node_distances = branch.repository.get_graph().find_lefthand_distances(
98
98
            distances)
99
 
        for key, distance in node_distances.iteritems():
 
99
        for key, distance in node_distances.items():
100
100
            refs[('lefthand-distance', key)] = distance
101
101
            if key in existences and distance > 0:
102
102
                refs[('revision-existence', key)] = True