X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fserver%2Fcomponent.py;h=9baa6c22eca969caa1a819ea8948294f1b13dd97;hb=7e1d7d63b6e65af7451c533fda704b14e327e48f;hp=3958c5fb9676ac5cad31729cf76f0ba3a2fce68a;hpb=25ba0fdec627f472689c9f93a254e666b5d4317d;p=sfa.git diff --git a/sfa/server/component.py b/sfa/server/component.py index 3958c5fb..9baa6c22 100644 --- a/sfa/server/component.py +++ b/sfa/server/component.py @@ -17,7 +17,6 @@ except ImportError: ## # Component is a SfaServer that serves component operations. -# set SFA_GENERIC_FLAVOUR=plcm to get a PlcComponentApi instance in the request handler class Component(SfaServer): ## # Create a new registry object. @@ -28,5 +27,4 @@ class Component(SfaServer): # @param cert_file certificate filename containing public key (could be a GID file) def __init__(self, ip, port, key_file, cert_file): - SfaServer.__init__(self, ip, port, key_file, cert_file) - self.server.interface = 'component' + SfaServer.__init__(self, ip, port, key_file, cert_file, interface='component')