Skip to content

Commit 04123a1

Browse files
committed
remove TODO
1 parent 5ffa535 commit 04123a1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/Site.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
from queue import Queue
1+
try:
2+
from queue import Queue # python3
3+
except ImportError:
4+
from Queue import Queue # python2
25
import requests
36
import time
47
from requests import ConnectionError
@@ -73,8 +76,6 @@ def monitor(self):
7376
if paste.match():
7477
logging.info('Found interesting stuff')
7578
self.redisc.set(paste.url, paste.text)
76-
print(paste.text)
77-
# TODO: dump in db
7879
self.update()
7980
while self.empty():
8081
logging.debug('No results... sleeping')

0 commit comments

Comments
 (0)