##// END OF EJS Templates
bundle2.unpackermixin: default value for seek() whence parameter...
Eric Sumner -
r24070:de32e988 default
parent child Browse files
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