Skip to content

Commit

Permalink
Fixed #8574 -- Made Sitemap a new-style class
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Sep 17, 2008
1 parent c1bed37 commit 660180d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/sitemaps/__init__.py
Expand Up @@ -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
Expand Down

0 comments on commit 660180d

Please sign in to comment.