diff options
author | cedricbonhomme <devnull@localhost> | 2012-04-22 10:22:44 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2012-04-22 10:22:44 +0200 |
commit | 34fccc4dbee64f34a77cd75b878f3d6a8ae90d57 (patch) | |
tree | a6cbeb5de0db639d88758487f680fbe6afee7e0a /source/sqlite2mongo.py | |
parent | SHA1 is replaced by urlsafe_b64encode for id of articles. (diff) | |
download | newspipe-34fccc4dbee64f34a77cd75b878f3d6a8ae90d57.tar.gz newspipe-34fccc4dbee64f34a77cd75b878f3d6a8ae90d57.tar.bz2 newspipe-34fccc4dbee64f34a77cd75b878f3d6a8ae90d57.zip |
Added comments.
Diffstat (limited to 'source/sqlite2mongo.py')
-rw-r--r-- | source/sqlite2mongo.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/sqlite2mongo.py b/source/sqlite2mongo.py index 6a68d00b..c4bb4e17 100644 --- a/source/sqlite2mongo.py +++ b/source/sqlite2mongo.py @@ -2,15 +2,14 @@ # -*- coding: utf-8 -*- import sqlite3 -import mongodb +import mongodb import utils from datetime import datetime SQLITE_BASE = "./var/feed.db" - def sqlite2mongo(): """ Load feeds and articles in a dictionary. |