diff options
| author | mischief <mischief@offblast.org> | 2018-11-28 11:34:52 -0800 |
|---|---|---|
| committer | mischief <mischief@offblast.org> | 2018-11-28 11:34:52 -0800 |
| commit | cd933b2a9c5dc9dc2c469d243257154309c2dc6a (patch) | |
| tree | cd1300fcce40ea0ce726563e5bd7d30c99577cba | |
| parent | 099da8cb824ee60bf3f55e9e69380660f167b216 (diff) | |
| download | plan9front-cd933b2a9c5dc9dc2c469d243257154309c2dc6a.tar.xz | |
hgwebfs: read to eof by default to match urllib2 behavior
| -rw-r--r-- | sys/lib/python/hgext/hgwebfs.py | 2 |
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): |
