Show More
@@ -497,7 +497,7 b' class unpackermixin(object):' | |||||
497 | """read exactly <size> bytes from the stream""" |
|
497 | """read exactly <size> bytes from the stream""" | |
498 | return changegroup.readexactly(self._fp, size) |
|
498 | return changegroup.readexactly(self._fp, size) | |
499 |
|
499 | |||
500 | def seek(self, offset, whence): |
|
500 | def seek(self, offset, whence=0): | |
501 | """move the underlying file pointer""" |
|
501 | """move the underlying file pointer""" | |
502 | if self._seekable: |
|
502 | if self._seekable: | |
503 | return self._fp.seek(offset, whence) |
|
503 | return self._fp.seek(offset, whence) |
General Comments 0
You need to be logged in to leave comments.
Login now