This commit is contained in:
Lars Kiesow 2018-03-04 20:15:48 +01:00
commit fccb05f151
No known key found for this signature in database
GPG key ID: 5DAFE8D9C823CE73
3 changed files with 6 additions and 6 deletions

View file

@ -303,8 +303,8 @@ class FeedEntry(object):
return self.__atom_updated return self.__atom_updated
def author(self, author=None, replace=False, **kwargs): def author(self, author=None, replace=False, **kwargs):
'''Get or set autor data. An author element is a dict containing a '''Get or set author data. An author element is a dict containing a
name, an email adress and a uri. Name is mandatory for ATOM, email is name, an email address and a uri. Name is mandatory for ATOM, email is
mandatory for RSS. mandatory for RSS.
This method can be called with: This method can be called with:

View file

@ -25,7 +25,7 @@ class TorrentExtension(BaseExtension):
class TorrentEntryExtension(BaseEntryExtension): class TorrentEntryExtension(BaseEntryExtension):
'''FeedEntry extention for torrent feeds '''FeedEntry extension for torrent feeds
''' '''
def __init__(self): def __init__(self):
self.__torrent_filename = None self.__torrent_filename = None

View file

@ -864,8 +864,8 @@ class FeedGenerator(object):
for person responsible for editorial content. This is a RSS only for person responsible for editorial content. This is a RSS only
value. value.
:param managingEditor: Email adress of the managing editor. :param managingEditor: Email address of the managing editor.
:returns: Email adress of the managing editor. :returns: Email address of the managing editor.
''' '''
if managingEditor is not None: if managingEditor is not None:
self.__rss_managingEditor = managingEditor self.__rss_managingEditor = managingEditor
@ -999,7 +999,7 @@ class FeedGenerator(object):
def add_entry(self, feedEntry=None): def add_entry(self, feedEntry=None):
'''This method will add a new entry to the feed. If the feedEntry '''This method will add a new entry to the feed. If the feedEntry
argument is omittet a new Entry object is created automatically. This argument is omittet a new Entry object is created automatically. This
is the prefered way to add new entries to a feed. is the preferred way to add new entries to a feed.
:param feedEntry: FeedEntry object to add. :param feedEntry: FeedEntry object to add.
:returns: FeedEntry object created or passed to this function. :returns: FeedEntry object created or passed to this function.