/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: Jelmer Vernooij
  • Date: 2020-02-07 02:14:30 UTC
  • mto: This revision was merged to the branch mainline in revision 7492.
  • Revision ID: jelmer@jelmer.uk-20200207021430-m49iq3x4x8xlib6x
Drop python2 support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    osutils,
34
34
    ui,
35
35
    )
36
 
from .sixish import (
37
 
    range,
38
 
    viewitems,
39
 
    )
40
36
 
41
37
 
42
38
class Annotator(object):
95
91
                    vf_keys_needed.add(key)
96
92
            needed_keys = set()
97
93
            next_parent_map.update(self._vf.get_parent_map(parent_lookup))
98
 
            for key, parent_keys in viewitems(next_parent_map):
 
94
            for key, parent_keys in next_parent_map.items():
99
95
                if parent_keys is None:  # No graph versionedfile
100
96
                    parent_keys = ()
101
97
                    next_parent_map[key] = ()