def ping_google(sitemap_url=None, ping_url=PING_URL):
 sitemap_full_url = _get_sitemap_full_url(sitemap_url)
 params = urlencode({'sitemap': sitemap_full_url})
 urlopen(('%s?%s' % (ping_url, params)))

def ping_google ( sitemap_url = None , ping_url = PING_URL ) : sitemap_full_url = _get_sitemap_full_url ( sitemap_url ) params = urlencode ( { 'sitemap' : sitemap_full_url } ) urlopen ( ( '%s?%s' % ( ping_url , params ) ) )
alerts google that the sitemap for the current site has been updated .