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:
055366b
)
Fix for VINI aggregate
author
Andy Bavier
<acb@cs.princeton.edu>
Mon, 12 Oct 2009 15:58:53 +0000
(15:58 +0000)
committer
Andy Bavier
<acb@cs.princeton.edu>
Mon, 12 Oct 2009 15:58:53 +0000
(15:58 +0000)
sfa/plc/api.py
patch
|
blob
|
history
diff --git
a/sfa/plc/api.py
b/sfa/plc/api.py
index
a1e702f
..
6423f1f
100644
(file)
--- a/
sfa/plc/api.py
+++ b/
sfa/plc/api.py
@@
-119,7
+119,8
@@
class GeniAPI:
self.credential = None
# Initialize the PLC shell only if SFA wraps a myPLC
- if (self.config.get_aggregate_rspec_type() == 'pl'):
+ 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()