Fixed NameError: global name 'updated' is not defined

Fixes traceback
lib/python2.7/site-packages/feedgen/feed.py", line 447, in lastBuildDate
return updated( lastBuildDate )
NameError: global name 'updated' is not defined
This commit is contained in:
Nico Gulden 2013-12-23 12:19:33 +01:00
parent e34d9c5693
commit 262a0137e1

View file

@ -444,7 +444,7 @@ class FeedGenerator(object):
:param lastBuildDate: The modification date. :param lastBuildDate: The modification date.
:returns: Modification date as datetime.datetime :returns: Modification date as datetime.datetime
''' '''
return updated( lastBuildDate ) return self.updated( lastBuildDate )
def author(self, author=None, replace=False, **kwargs): def author(self, author=None, replace=False, **kwargs):