Commits

Kevin McCarthy committed 99459ff

have site name use mcp too

  • Participants
  • Parent commits d5ff9aa

Comments (0)

Files changed (1)

pingback/client.py

             try:
                 server = ServerProxy(directory_url)
                 try:
-                    q = server.weblogUpdates.extendedPing(settings.SITE_NAME, blog_url, url, feed_url)
+                    q = server.weblogUpdates.extendedPing(mcp_settings.SITE_NAME, blog_url, url, feed_url)
                 #TODO: Find out name of exception :-)
                 except Exception:
                     try:
-                        q = server.weblogUpdates.ping(settings.SITE_NAME, blog_url, url)
+                        q = server.weblogUpdates.ping(mcp_settings.SITE_NAME, blog_url, url)
                     except ProtocolError:
                         log.exception('protocol error during directory ping %r' % directory_url)
                         ping.success = False