git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cab0b6a
)
no need to call getPLCShell() here
author
Tony Mack
<tmack@cs.princeton.edu>
Thu, 5 Nov 2009 01:17:39 +0000
(
01:17
+0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Thu, 5 Nov 2009 01:17:39 +0000
(
01:17
+0000)
sfa/util/api.py
patch
|
blob
|
history
diff --git
a/sfa/util/api.py
b/sfa/util/api.py
index
3158851
..
4b82f06
100644
(file)
--- 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()