mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
tox (and travis ci?) were hiding the fact that the gdbm dependency was the problem
This commit is contained in:
commit
0d617a927c
@ -9,6 +9,5 @@ python:
|
|||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get -y install python-gdbm python3-gdbm
|
- sudo apt-get -y install python-gdbm python3-gdbm
|
||||||
install: python setup.py install
|
|
||||||
script: python setup.py test
|
script: python setup.py test
|
||||||
|
|
||||||
|
@ -227,6 +227,11 @@ class ProxyingRecorder(object):
|
|||||||
self._update(hunk)
|
self._update(hunk)
|
||||||
return hunk
|
return hunk
|
||||||
|
|
||||||
|
def readinto(self, b):
|
||||||
|
n = self.fp.readinto(b)
|
||||||
|
self._update(b[:n])
|
||||||
|
return n
|
||||||
|
|
||||||
def readline(self, size=-1):
|
def readline(self, size=-1):
|
||||||
# XXX depends on implementation details of self.fp.readline(), in
|
# XXX depends on implementation details of self.fp.readline(), in
|
||||||
# particular that it doesn't call self.fp.read()
|
# particular that it doesn't call self.fp.read()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user