diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-11-30 08:51:48 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-11-30 08:51:48 +0100 |
commit | d12d793a574544978829a17fda789ba9d3dd91d2 (patch) | |
tree | 449a0bc8f29a75eec635dc65a53d69555df9bd4c | |
parent | Template adjustment. (diff) | |
download | newspipe-d12d793a574544978829a17fda789ba9d3dd91d2.tar.gz newspipe-d12d793a574544978829a17fda789ba9d3dd91d2.tar.bz2 newspipe-d12d793a574544978829a17fda789ba9d3dd91d2.zip |
Removed useless function in mongodb.py.
-rw-r--r-- | source/mongodb.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/source/mongodb.py b/source/mongodb.py index 68ccf5bc..e11cc498 100644 --- a/source/mongodb.py +++ b/source/mongodb.py @@ -20,9 +20,9 @@ # along with this program. If not, see <http://www.gnu.org/licenses/> __author__ = "Cedric Bonhomme" -__version__ = "$Revision: 0.3 $" +__version__ = "$Revision: 0.4 $" __date__ = "$Date: 2012/03/03 $" -__revision__ = "$Date: 2012/05/01 $" +__revision__ = "$Date: 2012/11/30 $" __copyright__ = "Copyright (c) Cedric Bonhomme" __license__ = "GPLv3" @@ -222,13 +222,6 @@ class Articles(object): collection = self.db[str(feed_id)] collection.update({"type": 0, "feed_id":feed_id}, {"$set": changes}, multi=True) - def list_collections(self): - """ - List all collections (feed). - """ - collections = self.db.collection_names() - return collections - # Functions on database def drop_database(self): """ |