Use xrange where applicable (faster)

master
pictuga 2014-06-22 02:02:43 +02:00
parent f01efb7334
commit 9f51448160
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ def Gather(rss, url, cache, options):
queue = Queue.Queue()
for i in range(THREADS):
for i in xrange(THREADS):
t = threading.Thread(target=runner, args=(queue,))
t.daemon = True
t.start()