From 05a569166a2a4833d329e763694f523d42d5a248 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 30 Dec 2013 09:06:34 +0100 Subject: Test without sorting articles. --- pyaggr3g470r/feedgetter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyaggr3g470r/feedgetter.py') diff --git a/pyaggr3g470r/feedgetter.py b/pyaggr3g470r/feedgetter.py index 91a0231b..65d462da 100644 --- a/pyaggr3g470r/feedgetter.py +++ b/pyaggr3g470r/feedgetter.py @@ -161,7 +161,7 @@ class FeedGetter(object): # add the articles to the list of articles for the current feed feed.articles.extend(articles) - feed.articles = sorted(feed.articles, key=lambda t: t.date, reverse=True) + #feed.articles = sorted(feed.articles, key=lambda t: t.date, reverse=True) self.user.save() @@ -169,4 +169,4 @@ if __name__ == "__main__": # Point of entry in execution mode feed_getter = FeedGetter() # Retrieve all feeds - feed_getter.retrieve_feed() \ No newline at end of file + feed_getter.retrieve_feed() -- cgit