From 446dd9fb3f7edaf0e2ccccdb1ef2618008950829 Mon Sep 17 00:00:00 2001 From: pictuga Date: Fri, 20 Feb 2015 17:41:14 +0800 Subject: [PATCH] Fix typo in FeedListDescriptor Thanks @tehsphinx. Fixes #4. --- morss/feeds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/feeds.py b/morss/feeds.py index d73d656..920be82 100644 --- a/morss/feeds.py +++ b/morss/feeds.py @@ -318,7 +318,7 @@ class FeedListDescriptor(object): def __set__(self, instance, value): feedlist = self.__get__(instance) - [x.remove() for x in [x for x in f.items]] + [x.remove() for x in list(feedlist)] [feedlist.append(x) for x in value]