/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/tree.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-22 00:56:52 UTC
  • mfrom: (6621.2.26 py3_pokes)
  • Revision ID: jelmer@jelmer.uk-20170522005652-yjahcr9hwmjkno7n
Merge Python3 porting work ('py3 pokes')

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
import os
23
23
 
24
 
from breezy.lazy_import import lazy_import
 
24
from .lazy_import import lazy_import
25
25
lazy_import(globals(), """
26
26
import collections
27
27
 
40
40
from breezy.i18n import gettext
41
41
""")
42
42
 
43
 
from breezy.decorators import needs_read_lock
44
 
from breezy.inter import InterObject
45
 
from breezy.symbol_versioning import (
 
43
from .decorators import needs_read_lock
 
44
from .inter import InterObject
 
45
from .symbol_versioning import (
46
46
    deprecated_in,
47
47
    deprecated_method,
48
48
    )
837
837
        return inventory.has_id(file_id)
838
838
 
839
839
    def all_file_ids(self):
840
 
        return set(
841
 
            [entry.file_id for path, entry in self.iter_entries_by_dir()])
 
840
        return {entry.file_id for path, entry in self.iter_entries_by_dir()}
842
841
 
843
842
    @deprecated_method(deprecated_in((2, 4, 0)))
844
843
    def __iter__(self):