~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Andrew Bennetts
  • Date: 2008-10-01 06:10:17 UTC
  • mfrom: (3753 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3755.
  • Revision ID: andrew.bennetts@canonical.com-20081001061017-z97p3m0n9qqjzklf
Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
    def has_id(self, file_id):
133
133
        return self.inventory.has_id(file_id)
134
134
 
135
 
    __contains__ = has_id
 
135
    def __contains__(self, file_id):
 
136
        return self.has_id(file_id)
136
137
 
137
138
    def has_or_had_id(self, file_id):
138
139
        if file_id == self.inventory.root.file_id: