Commit 732911fd authored by Neal Norwitz's avatar Neal Norwitz

fix problems found by pychecker

parent 643bceca
......@@ -305,6 +305,7 @@ class SimpleXMLRPCDispatcher:
if method is None:
return ""
else:
import pydoc
return pydoc.getdoc(method)
def system_multicall(self, call_list):
......@@ -485,7 +486,7 @@ class CGIXMLRPCRequestHandler(SimpleXMLRPCDispatcher):
print 'Content-Type: text/html'
print 'Content-Length: %d' % len(response)
print
sys.stdout.write(reponse)
sys.stdout.write(response)
def handle_request(self, request_text = None):
"""Handle a single XML-RPC request passed through a CGI post method.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment