diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-03-15 08:00:40 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-03-15 08:00:40 +0100 |
commit | edc7ba164fcb99347d9824eeecd8665f7135e820 (patch) | |
tree | 591942aa5a761325741d521a8c99de62bee64cc5 /source/mongodb.py | |
parent | Updated 'meta' HTML tag of the authentication page. (diff) | |
download | newspipe-edc7ba164fcb99347d9824eeecd8665f7135e820.tar.gz newspipe-edc7ba164fcb99347d9824eeecd8665f7135e820.tar.bz2 newspipe-edc7ba164fcb99347d9824eeecd8665f7135e820.zip |
Improved code readability.
Diffstat (limited to 'source/mongodb.py')
-rw-r--r-- | source/mongodb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/mongodb.py b/source/mongodb.py index 38081780..9e64fe4f 100644 --- a/source/mongodb.py +++ b/source/mongodb.py @@ -45,7 +45,7 @@ class Articles(object): Creates a new collection for a new feed. """ collection = self.db[new_collection["feed_id"]] - collection.create_index([("article_date", pymongo.DESCENDING)], {"unique":False, "sparse":False}) + #collection.create_index([("article_date", pymongo.DESCENDING)], {"unique":False, "sparse":False}) collection.ensure_index('article_content', pymongo.ASCENDING) collection.insert(new_collection) |