Author: adrian Date: 2008-09-16 23:56:04 -0500 (Tue, 16 Sep 2008) New Revision: 9052
Modified: django/trunk/django/contrib/sitemaps/__init__.py Log: Fixed #8574 -- Made Sitemap a new-style class Modified: django/trunk/django/contrib/sitemaps/__init__.py =================================================================== --- django/trunk/django/contrib/sitemaps/__init__.py 2008-09-17 04:52:25 UTC (rev 9051) +++ django/trunk/django/contrib/sitemaps/__init__.py 2008-09-17 04:56:04 UTC (rev 9052) @@ -33,7 +33,7 @@ params = urllib.urlencode({'sitemap':url}) urllib.urlopen("%s?%s" % (ping_url, params)) -class Sitemap: +class Sitemap(object): # This limit is defined by Google. See the index documentation at # http://sitemaps.org/protocol.php#index. limit = 50000 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---