summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim McCusker <jmccusker@5amsolutions.com>2014-11-21 09:25:42 -0500
committerJim McCusker <jmccusker@5amsolutions.com>2014-11-21 09:25:42 -0500
commit0f8adec29eb27be3eb35dc6bd1c899c79b178eca (patch)
tree0e9ce400cf56b186269503faa2b7dd9b2ee322af
parentceae5427e2fe938538044791291d4646cb8b9bf9 (diff)
downloadrdflib-0f8adec29eb27be3eb35dc6bd1c899c79b178eca.tar.gz
Forgot to actually put the finished tasks back out of the queue.
-rw-r--r--examples/graph_digest_benchmark.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/graph_digest_benchmark.py b/examples/graph_digest_benchmark.py
index ef7a8da9..4368a44d 100644
--- a/examples/graph_digest_benchmark.py
+++ b/examples/graph_digest_benchmark.py
@@ -75,8 +75,9 @@ def bioportal_benchmark(apikey, output_file, threads):
print stats['ontology'], stats['download_url']
ig = to_isomorphic(og)
graph_digest = ig.graph_digest(stats)
+ finished_tasks.put(stats)
except Exception as e:
- print e
+ print 'ERROR' id, e
stats['error'] = str(e)
finished_tasks.put(stats)
except Empty: