summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authormischief <mischief@offblast.org>2018-11-28 11:34:52 -0800
committermischief <mischief@offblast.org>2018-11-28 11:34:52 -0800
commitcd933b2a9c5dc9dc2c469d243257154309c2dc6a (patch)
treecd1300fcce40ea0ce726563e5bd7d30c99577cba /sys/lib
parent099da8cb824ee60bf3f55e9e69380660f167b216 (diff)
hgwebfs: read to eof by default to match urllib2 behavior
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/python/hgext/hgwebfs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/lib/python/hgext/hgwebfs.py b/sys/lib/python/hgext/hgwebfs.py
index 430269cf1..45abf8cb5 100644
--- a/sys/lib/python/hgext/hgwebfs.py
+++ b/sys/lib/python/hgext/hgwebfs.py
@@ -59,7 +59,7 @@ class Webconn:
finally:
ctl.close()
- def read(self, amt=4096):
+ def read(self, amt=-1):
return self.body.read(amt);
def close(self):