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
(from parent 1:
efffd44
)
The extensions variable is not expected to be in the configuration file if the latest...
author
Sapan Bhatia
<gwsapan@gmail.com>
Wed, 16 Apr 2014 06:41:37 +0000
(
02:41
-0400)
committer
Sapan Bhatia
<gwsapan@gmail.com>
Wed, 16 Apr 2014 06:41:37 +0000
(
02:41
-0400)
source/steps/GetAndUpdateNodeDetails.py
patch
|
blob
|
history
diff --git
a/source/steps/GetAndUpdateNodeDetails.py
b/source/steps/GetAndUpdateNodeDetails.py
index
eb92160
..
78d77f6
100644
(file)
--- a/
source/steps/GetAndUpdateNodeDetails.py
+++ b/
source/steps/GetAndUpdateNodeDetails.py
@@
-121,8
+121,11
@@
def Run( vars, log ):
]
# MyPLC 5.0 workaround
- if (vars['extensions']==''):
- vars['extensions']=[]
+ try:
+ if (vars['extensions']==''):
+ vars['extensions']=[]
+ except:
+ pass
for k in flavour_keys:
# Support MyPLC <5.2