From: Sapan Bhatia Date: Fri, 4 Apr 2014 21:34:19 +0000 (-0400) Subject: Workaround to make extensions variable work with MyPLC 5.0 X-Git-Tag: bootmanager-5.2-5~1^2~4 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=bfa5697fbb53a80b32d80c6d2510a7166458c857 Workaround to make extensions variable work with MyPLC 5.0 --- diff --git a/source/steps/GetAndUpdateNodeDetails.py b/source/steps/GetAndUpdateNodeDetails.py index 5d1acb6..66bfc97 100644 --- 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)):