mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 00:29:53 -05:00
remove exception raised for testing
This commit is contained in:
parent
aacb886b62
commit
89e41e7c82
@ -156,9 +156,6 @@ class Umbra:
|
||||
with conn.Consumer(url_queue, callbacks=[self.fetch_url]) as consumer:
|
||||
import socket
|
||||
while not self.amqp_stop.is_set():
|
||||
import random
|
||||
if random.randrange(0, 30) == 0:
|
||||
raise BaseException("test exception!")
|
||||
try:
|
||||
conn.drain_events(timeout=0.5)
|
||||
except socket.timeout:
|
||||
|
Loading…
x
Reference in New Issue
Block a user