aboutsummaryrefslogtreecommitdiff
path: root/articles.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-12-03 08:02:11 +0100
committercedricbonhomme <devnull@localhost>2010-12-03 08:02:11 +0100
commit05b0bbb283a2a54b5e49c9d6cb9c99fbe24beb70 (patch)
treee292e49c45fcf957fae5c241b14e469bb6011fd1 /articles.py
parentScheißdreck. Removed useless print (diff)
downloadnewspipe-05b0bbb283a2a54b5e49c9d6cb9c99fbe24beb70.tar.gz
newspipe-05b0bbb283a2a54b5e49c9d6cb9c99fbe24beb70.tar.bz2
newspipe-05b0bbb283a2a54b5e49c9d6cb9c99fbe24beb70.zip
Updated code for new data structure. #3
Diffstat (limited to 'articles.py')
-rw-r--r--articles.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/articles.py b/articles.py
index 76c8be3d..7c019ae7 100644
--- a/articles.py
+++ b/articles.py
@@ -25,7 +25,7 @@ __date__ = "$Date: 2010/12/02 $"
__copyright__ = "Copyright (c) 2010 Cedric Bonhomme"
__license__ = "GPLv3"
-
+from collections import OrderedDict
class Feed(object):
"""
@@ -42,7 +42,7 @@ class Feed(object):
self.mail = ""#mail
self.nb_articles = ""#nb_articles
self.nb_unread_articles = ""#nb_unread_articles
- self.articles = []#articles_list
+ self.articles = OrderedDict()#articles_list
class Article(object):
bgstack15