Commits

Cédric Bonhomme committed 08f763e

Added some comments.

Comments (0)

Files changed (1)

 
 class Articles(object):
     """
+    This class is responsible of the management of the MongoDB
+    database.
     """
     def __init__(self, url='localhost', port=27017, db_name="pyaggr3g470r", user="", password=""):
         """
 
     def mark_as_read(self, readed, feed_id=None, article_id=None):
         """
+        Mark one or several articles as read.
         """
         if feed_id != None and article_id != None:
             collection = self.db[str(feed_id)]