From: Tony Mack Date: Mon, 29 Mar 2010 17:37:32 +0000 (+0000) Subject: no need to PLCAPI.AuthCheck() here anymore X-Git-Tag: sfa-0.9-11~37 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=b83ed953db0ce89d713f44d32f782643781330e1 no need to PLCAPI.AuthCheck() here anymore --- diff --git a/sfa/plc/api.py b/sfa/plc/api.py index 52f72ffa..5d2568ab 100644 --- a/sfa/plc/api.py +++ b/sfa/plc/api.py @@ -75,14 +75,12 @@ class SfaAPI(BaseAPI): self.plshell_type = 'direct' import PLC.Shell shell = PLC.Shell.Shell(globals = globals()) - shell.AuthCheck(self.plauth) return shell except ImportError: self.plshell_type = 'xmlrpc' # connect via xmlrpc url = self.config.SFA_PLC_URL shell = xmlrpclib.Server(url, verbose = 0, allow_none = True) - shell.AuthCheck(self.plauth) return shell def getPLCShellVersion(self):