From 40e7185e8c10c7ef017ef94a3c9189927d3acc39 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 11 Jan 2013 19:28:32 +0100 Subject: Removed useless comments. --- source/mongodb.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'source') diff --git a/source/mongodb.py b/source/mongodb.py index e91fb90b..9ee3e8ea 100644 --- a/source/mongodb.py +++ b/source/mongodb.py @@ -56,9 +56,6 @@ class Articles(object): Add article(s) in a collection. """ collection = self.db[str(feed_id)] - #collection.create_index([("article_date", pymongo.DESCENDING)], {"unique":False, "sparse":False}) - #collection.ensure_index('article_content', pymongo.ASCENDING) - print(collection.index_information()) for article in articles: cursor = collection.find({"article_id":article["article_id"]}) if cursor.count() == 0: -- cgit