remove unnecessary imports
[sfa.git] / sfacomponent / plc / api.py
1 #
2 # Geniwrapper XML-RPC and SOAP interfaces
3 #
4 ### $Id: api.py 15596 2009-10-31 21:42:05Z anil $
5 ### $URL: https://svn.planet-lab.org/svn/sfa/trunk/sfa/plc/api.py $
6 #
7
8 import sys
9 import os
10 import traceback
11 from sfa.util.api import *
12
13
14 class ComponentAPI(BaseAPI):
15
16     
17     def __init__(self, config = "/etc/sfa/sfa_config", encoding = "utf-8", methods='sfacomponent.methods',
18                  peer_cert = None, interface = None, key_file = None, cert_file = None):
19
20         BaseAPI.__init__(self, config=config, encoding=encoding, methods=methods, peer_cert=peer_cert, 
21                          interface, key_file, cert_file) 
22         self.encoding = encoding
23
24         # Better just be documenting the API
25         if config is None:
26             return
27
28