mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
py2 fix
This commit is contained in:
parent
f5351a43df
commit
ef590a2fec
@ -39,7 +39,7 @@ before_install:
|
||||
- ping -c2 trough
|
||||
|
||||
install:
|
||||
- pip install . pytest requests warcio
|
||||
- pip install . pytest requests warcio mock
|
||||
|
||||
before_script:
|
||||
- ps ww -fHe
|
||||
|
@ -59,8 +59,8 @@ class TroughClient(object):
|
||||
self._promoter_thread = None
|
||||
if promotion_interval:
|
||||
self._promoter_thread = threading.Thread(
|
||||
target=self._promotrix, name='TroughClient-promoter',
|
||||
daemon=True)
|
||||
target=self._promotrix, name='TroughClient-promoter')
|
||||
self._promoter_thread.setDaemon(True)
|
||||
self._promoter_thread.start()
|
||||
|
||||
def _promotrix(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user