~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:30:40 UTC
  • mto: This revision was merged to the branch mainline in revision 1459.
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051016083040-de4b6177b8a0531a
unify __len__() implementations for TransportStore classes

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
            else:
117
117
                yield os.path.basename(relpath)
118
118
 
119
 
    def __len__(self):
120
 
        return len(list(self._iter_relpath()))
121
 
 
122
119
    def _get(self, filename):
123
120
        """Returns a file reading from a particular entry."""
124
121
        f = self._transport.get(filename)