From 6a8abd977fa22411a5fe5c6c3e1336e406566cea Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 30 Oct 2013 19:08:45 +0100 Subject: this sort is enough fast --- pyaggr3g470r/feedgetter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyaggr3g470r/feedgetter.py b/pyaggr3g470r/feedgetter.py index 5f1c707c..bae0cb8b 100644 --- a/pyaggr3g470r/feedgetter.py +++ b/pyaggr3g470r/feedgetter.py @@ -136,7 +136,7 @@ class FeedGetter(object): article_title, description)).start() """ 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) feed.save() -- cgit