again
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 9 Dec 2008 13:35:48 +0000 (13:35 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 9 Dec 2008 13:35:48 +0000 (13:35 +0000)
PLC/Methods/GetBootMedium.py

index aa396e5..083e08f 100644 (file)
@@ -236,7 +236,7 @@ class GetBootMedium(Method):
 
         tag=Nodes(self.api,[node_id],['arch'])[0]['arch']
         if tag: arch=tag
-        tag=Nodes(self.api,[node_id],['arch'])[0]['pldistro']
+        tag=Nodes(self.api,[node_id],['pldistro'])[0]['pldistro']
         if tag: pldistro=tag
 
         return (pldistro,arch)