From d539058e0db6706a2576d1de043dc1dc0fbd7404 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 5 Nov 2009 01:17:39 +0000 Subject: [PATCH] no need to call getPLCShell() here --- sfa/util/api.py | 7 ------- 1 file changed, 7 deletions(-) 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() -- 2.47.0