From: Tony Mack Date: Thu, 5 Nov 2009 01:17:39 +0000 (+0000) Subject: no need to call getPLCShell() here X-Git-Tag: sfa-0.9-6~61 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d539058e0db6706a2576d1de043dc1dc0fbd7404;p=sfa.git no need to call getPLCShell() here --- diff --git a/sfa/util/api.py b/sfa/util/api.py index 31588514..4b82f063 100644 --- a/sfa/util/api.py +++ b/sfa/util/api.py @@ -120,13 +120,6 @@ class BaseAPI: self.cert = Certificate(filename=self.cert_file) self.credential = None - # Initialize the PLC shell only if SFA wraps a myPLC - rspec_type = self.config.get_aggregate_rspec_type() - if (rspec_type == 'pl' or rspec_type == 'vini'): - self.plshell = self.getPLCShell() - self.plshell_version = self.getPLCShellVersion() - - self.hrn = self.config.SFA_INTERFACE_HRN self.time_format = "%Y-%m-%d %H:%M:%S" self.logger=get_sfa_logger()