~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store/compressed_text.py

  • Committer: Robert Collins
  • Date: 2005-10-16 08:26:43 UTC
  • mto: This revision was merged to the branch mainline in revision 1459.
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051016082643-a2300b765aea49b4
unify __contains__ for TransportStore classes

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
        assert count == len(to_copy)
110
110
        return count, failed
111
111
 
112
 
    def __contains__(self, fileid):
113
 
        """"""
114
 
        fn = self._relpath(fileid)
115
 
        return self._transport.has(fn)
116
 
 
117
112
    def has(self, fileids, pb=None):
118
113
        """Return True/False for each entry in fileids.
119
114