preserve comment that ends in the config file
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 16 Jul 2010 12:27:45 +0000 (14:27 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 16 Jul 2010 12:27:45 +0000 (14:27 +0200)
plugins/omf_resctl.py

index e93c883..0ee1da0 100644 (file)
@@ -44,7 +44,7 @@ def GetSlivers(data, conf = None, plc = None):
         if not node_hrn: raise Exception
     except:
         logger.log("Failed to read hrn from GetSlivers, using 'default' - *please upgrade PLCAPI*")
-        node_hrn='default'
+        node_hrn='default   # Failed to read hrn from GetSlivers, please upgrade PLCAPI'
 
     for sliver in data['slivers']:
         name=sliver['name']