/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/_annotator_py.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:
33
33
    )
34
34
from .sixish import (
35
35
    range,
 
36
    viewitems,
36
37
    )
37
38
 
38
39
 
92
93
                    vf_keys_needed.add(key)
93
94
            needed_keys = set()
94
95
            next_parent_map.update(self._vf.get_parent_map(parent_lookup))
95
 
            for key, parent_keys in next_parent_map.iteritems():
 
96
            for key, parent_keys in viewitems(next_parent_map):
96
97
                if parent_keys is None: # No graph versionedfile
97
98
                    parent_keys = ()
98
99
                    next_parent_map[key] = ()