From: Sapan Bhatia Date: Wed, 16 Apr 2014 06:41:37 +0000 (-0400) Subject: The extensions variable is not expected to be in the configuration file if the latest... X-Git-Tag: bootmanager-5.2-5~1^2~2 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=3ab33be14eaa120969945451b69d195ce39a2f68 The extensions variable is not expected to be in the configuration file if the latest version of MyPLC is installed --- diff --git a/source/steps/GetAndUpdateNodeDetails.py b/source/steps/GetAndUpdateNodeDetails.py index eb92160..78d77f6 100644 --- 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