equal
deleted
inserted
replaced
84 |
84 |
85 def appendResource(root): |
85 def appendResource(root): |
86 """adding XML-RPC and SOAP to root.""" |
86 """adding XML-RPC and SOAP to root.""" |
87 root.putChild('RPC2', XMLRPCInterface()) |
87 root.putChild('RPC2', XMLRPCInterface()) |
88 root.putChild('SOAP', SOAPInterface()) |
88 root.putChild('SOAP', SOAPInterface()) |
89 return root |
|
90 |
89 |
91 if __name__ == '__main__': |
90 if __name__ == '__main__': |
92 from twisted.web import resource, server |
91 from twisted.web import resource, server |
93 from twisted.internet import reactor |
92 from twisted.internet import reactor |
94 |
93 |