From 3dbdf86ff7072fe68af352aa39a86282b2126fa5 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sun, 8 Jun 2014 17:36:13 -0400 Subject: [PATCH] Fix. --- bitshift/crawler/indexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitshift/crawler/indexer.py b/bitshift/crawler/indexer.py index c7973b6..01687bd 100644 --- a/bitshift/crawler/indexer.py +++ b/bitshift/crawler/indexer.py @@ -418,7 +418,7 @@ class _GitCloner(threading.Thread): """ while True: - while self.index_queue.empty() and self.run_event.is_set(): + while self.clone_queue.empty() and self.run_event.is_set(): time.sleep(THREAD_QUEUE_SLEEP) if not self.run_event.is_set(): break