Show More
@@ -182,6 +182,9 b' class cg1unpacker(object):' | |||||
182 | self._stream = util.decompressors[alg](fh) |
|
182 | self._stream = util.decompressors[alg](fh) | |
183 | self._type = alg |
|
183 | self._type = alg | |
184 | self.callback = None |
|
184 | self.callback = None | |
|
185 | ||||
|
186 | # These methods (compressed, read, seek, tell) all appear to only | |||
|
187 | # be used by bundlerepo, but it's a little hard to tell. | |||
185 | def compressed(self): |
|
188 | def compressed(self): | |
186 | return self._type is not None |
|
189 | return self._type is not None | |
187 | def read(self, l): |
|
190 | def read(self, l): |
General Comments 0
You need to be logged in to leave comments.
Login now