fix log message

This commit is contained in:
James Turk 2012-05-10 17:07:21 -04:00
parent d5d77fd79b
commit 0cddf437fb

View File

@ -15,7 +15,7 @@ class ElasticSearchPush(Task):
doc = kernel.db.tracked.find_one({'_id': doc_id})
text = kernel.extract_text(doc)
self.get_logger().debug('adding {1} to ElasticSearch'.format(doc_id))
self.get_logger().debug('adding {0} to ElasticSearch'.format(doc_id))
for i, piece in enumerate(pieces):
es.index(dict(doc['metadata'], text=text),