From 262a0137e110cd041251e20a4ffa29adc55364cb Mon Sep 17 00:00:00 2001 From: Nico Gulden Date: Mon, 23 Dec 2013 12:19:33 +0100 Subject: [PATCH] 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 --- feedgen/feed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feedgen/feed.py b/feedgen/feed.py index 7302c0b..3513ad7 100644 --- a/feedgen/feed.py +++ b/feedgen/feed.py @@ -444,7 +444,7 @@ class FeedGenerator(object): :param lastBuildDate: The modification date. :returns: Modification date as datetime.datetime ''' - return updated( lastBuildDate ) + return self.updated( lastBuildDate ) def author(self, author=None, replace=False, **kwargs):