The extensions variable is not expected to be in the configuration file if the latest...
authorSapan Bhatia <gwsapan@gmail.com>
Wed, 16 Apr 2014 06:41:37 +0000 (02:41 -0400)
committerSapan Bhatia <gwsapan@gmail.com>
Wed, 16 Apr 2014 06:41:37 +0000 (02:41 -0400)
source/steps/GetAndUpdateNodeDetails.py

index eb92160..78d77f6 100644 (file)
@@ -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