From 53cac4ff5a556bf11c51eb787262068e7376414b Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 25 Oct 2011 18:26:59 +0200 Subject: [PATCH] trim useless imports - add docstring to Interface --- sfa/server/interface.py | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/sfa/server/interface.py b/sfa/server/interface.py index dbc8ef20..1ecee511 100644 --- a/sfa/server/interface.py +++ b/sfa/server/interface.py @@ -1,13 +1,6 @@ -import traceback -import os.path - from sfa.util.faults import * from sfa.util.storage import XmlStorage -from sfa.util.xrn import get_authority, hrn_to_urn -from sfa.util.record import SfaRecord import sfa.util.xmlrpcprotocol as xmlrpcprotocol -import sfa.util.soapprotocol as soapprotocol -from sfa.trust.gid import GID # GeniLight client support is optional try: @@ -15,10 +8,11 @@ try: except ImportError: GeniClientLight = None - - class Interface: - + """ + Interface to another SFA service, typically a peer, or the local aggregate + can retrieve a xmlrpclib.ServerProxy object for issuing calls there + """ def __init__(self, hrn, addr, port, client_type='sfa'): self.hrn = hrn self.addr = addr -- 2.47.0