git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c643bdd
)
Workaround to make extensions variable work with MyPLC 5.0
author
Sapan Bhatia
<gwsapan@gmail.com>
Fri, 4 Apr 2014 21:34:19 +0000
(17:34 -0400)
committer
Sapan Bhatia
<gwsapan@gmail.com>
Fri, 4 Apr 2014 21:34:19 +0000
(17:34 -0400)
source/steps/GetAndUpdateNodeDetails.py
patch
|
blob
|
history
diff --git
a/source/steps/GetAndUpdateNodeDetails.py
b/source/steps/GetAndUpdateNodeDetails.py
index
5d1acb6
..
66bfc97
100644
(file)
--- a/
source/steps/GetAndUpdateNodeDetails.py
+++ b/
source/steps/GetAndUpdateNodeDetails.py
@@
-125,6
+125,10
@@
def Run( vars, log ):
'plain'# false if compressed image, true if not
]
+ # MyPLC 5.0 workaround
+ if (vars['extensions']==''):
+ vars['extensions']=[]
+
for k in flavour_keys:
# Support MyPLC <5.2
if (not vars.has_key(k)):