From dd0d742e6d7ebc68e36026599d01b36430666258 Mon Sep 17 00:00:00 2001 From: Lars Kiesow Date: Thu, 16 May 2013 18:32:32 +0200 Subject: [PATCH] Fixed return type of base extension --- feedgen/ext/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/feedgen/ext/base.py b/feedgen/ext/base.py index be774db..5042264 100644 --- a/feedgen/ext/base.py +++ b/feedgen/ext/base.py @@ -25,14 +25,14 @@ class BaseExtension(object): return feed - def extend_atom(self, feed, doc=None): + def extend_atom(self, feed): '''Create an ATOM feed xml structure containing all previously set fields. :param feed: The feed xml root element. :returns: The feed root element. ''' - return feed, doc + return feed class BaseEntryExtension(BaseExtension):