From cd933b2a9c5dc9dc2c469d243257154309c2dc6a Mon Sep 17 00:00:00 2001 From: mischief Date: Wed, 28 Nov 2018 11:34:52 -0800 Subject: hgwebfs: read to eof by default to match urllib2 behavior --- sys/lib/python/hgext/hgwebfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/lib/python') 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): -- cgit v1.2.3