~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-08-30 14:37:31 UTC
  • mfrom: (1711.9.11 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060830143731-af84f2be15714815
(Robey Pointer) replace foo.has_key(bar) with bar in foo

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
        return iter([])
221
221
    
222
222
    def __contains__(self, file_id):
223
 
        return file_id in self._inventory
 
223
        return (file_id in self._inventory)
224
224
 
225
225
    def get_file_sha1(self, file_id, path=None):
226
226
        return None