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
|
- ping -c2 trough
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install . pytest requests warcio
|
- pip install . pytest requests warcio mock
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- ps ww -fHe
|
- ps ww -fHe
|
||||||
|
@ -59,8 +59,8 @@ class TroughClient(object):
|
|||||||
self._promoter_thread = None
|
self._promoter_thread = None
|
||||||
if promotion_interval:
|
if promotion_interval:
|
||||||
self._promoter_thread = threading.Thread(
|
self._promoter_thread = threading.Thread(
|
||||||
target=self._promotrix, name='TroughClient-promoter',
|
target=self._promotrix, name='TroughClient-promoter')
|
||||||
daemon=True)
|
self._promoter_thread.setDaemon(True)
|
||||||
self._promoter_thread.start()
|
self._promoter_thread.start()
|
||||||
|
|
||||||
def _promotrix(self):
|
def _promotrix(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user