no need to PLCAPI.AuthCheck() here anymore
authorTony Mack <tmack@cs.princeton.edu>
Mon, 29 Mar 2010 17:37:32 +0000 (17:37 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Mon, 29 Mar 2010 17:37:32 +0000 (17:37 +0000)
sfa/plc/api.py

index 52f72ff..5d2568a 100644 (file)
@@ -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):