/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: Breezy landing bot
  • Author(s): Martin
  • Date: 2017-06-05 21:50:19 UTC
  • mfrom: (6656.1.3 dict_viewing)
  • Revision ID: breezy.the.bot@gmail.com-20170605215019-uw7s07tx11p194kh
Apply 2to3 dict fixer and clean up with sixish view methods

Merged from https://code.launchpad.net/~gz/brz/dict_viewing/+merge/325108

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] = ()