git://git.onelab.eu
/
bootmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Workaround to make extensions variable work with MyPLC 5.0
[bootmanager.git]
/
source
/
steps
/
GetAndUpdateNodeDetails.py
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)):