Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #8574 -- Made Sitemap a new-style class

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 660180df30df430a9ca1e5f1f0916fb349aeaf2e 1 parent c1bed37
Adrian Holovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/sitemaps/__init__.py
2  django/contrib/sitemaps/__init__.py
View
@@ -33,7 +33,7 @@ def ping_google(sitemap_url=None, ping_url=PING_URL):
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
Please sign in to comment.
Something went wrong with that request. Please try again.