~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store/weave.py

  • Committer: Robert Collins
  • Date: 2005-10-16 14:51:21 UTC
  • mto: This revision was merged to the branch mainline in revision 1459.
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051016145121-01852573f8c63daa
replace __contains__ calls in stores with has_id

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
            if relpath.endswith(WeaveStore.FILE_SUFFIX):
58
58
                yield os.path.basename(relpath[:-l])
59
59
 
60
 
    def __contains__(self, fileid):
61
 
        """"""
 
60
    def has_id(self, fileid):
62
61
        return self._transport.has(self.filename(fileid))
63
62
 
64
63
    def _get(self, file_id):