Parent Directory | Revision Log
U minor change: renamed variable
1 | xabbu | 1.1 | import sys |
2 | |||
3 | joko | 1.3 | def create(parent,rpc_config): |
4 | return FraggleXMLRPC(parent,rpc_config) | ||
5 | xabbu | 1.1 | |
6 | class FraggleXMLRPC: | ||
7 | |||
8 | joko | 1.3 | def __init_rpc_server__(self,rpc_config): |
9 | xabbu | 1.1 | #print configList["url"] |
10 | joko | 1.3 | try: |
11 | self.rpc_server = Server(rpc_config["url"]) | ||
12 | except: | ||
13 | pass | ||
14 | xabbu | 1.1 | |
15 | joko | 1.3 | def __init__(self,parent,rpc_config): |
16 | from xmlrpclib import Server | ||
17 | self.__init_rpc_server__(rpc_config) | ||
18 | xabbu | 1.1 | |
19 | def FraggleSync(self): | ||
20 | joko | 1.2 | fragglexml = self.rpc_server.fraggleSync() |
21 | xabbu | 1.1 | #print fragglexml |
22 | return fragglexml | ||
23 |
MailToCvsAdmin">MailToCvsAdmin | ViewVC Help |
Powered by ViewVC 1.1.26 |