~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 10:11:50 UTC
  • mto: This revision was merged to the branch mainline in revision 1459.
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051016101150-c47ea7aac97aa585
add registration of suffixes, in preparation for ensuring iteration is regular

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 __init__(self, transport, prefixed=False):
 
113
        super(CompressedTextStore, self).__init__(transport, prefixed)
 
114
        self.register_suffix('gz')
 
115
 
112
116
    def __iter__(self):
113
117
        for relpath, st in self._iter_relpaths():
114
118
            if relpath.endswith(".gz"):