From 45189d06ed1f089090397db6a8dd3017a1070af8 Mon Sep 17 00:00:00 2001 From: Lars Kiesow Date: Sun, 4 Mar 2018 22:33:33 +0100 Subject: [PATCH] Fixed indentation of pull request #70 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The patch mixed tabs and spaces… --- feedgen/feed.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/feedgen/feed.py b/feedgen/feed.py index cb921d0..14067b4 100644 --- a/feedgen/feed.py +++ b/feedgen/feed.py @@ -1004,7 +1004,8 @@ class FeedGenerator(object): :param feedEntry: FeedEntry object to add. :param order: If `prepend` is chosen, the entry will be inserted at the beginning of the feed. If `append` is chosen, - the entry will be appended to the feed. (default: `prepend`). + the entry will be appended to the feed. + (default: `prepend`). :returns: FeedEntry object created or passed to this function. Example:: @@ -1034,10 +1035,10 @@ class FeedGenerator(object): except ImportError: pass - if order == 'prepend': - self.__feed_entries.insert(0, feedEntry) - else: - self.__feed_entries.append(feedEntry) + if order == 'prepend': + self.__feed_entries.insert(0, feedEntry) + else: + self.__feed_entries.append(feedEntry) return feedEntry def add_item(self, item=None):