From 1abec48c9900b957b8c26388d829a7125519a212 Mon Sep 17 00:00:00 2001
From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Tue, 9 Dec 2008 13:04:37 +0000
Subject: [PATCH] oops

---
 PLC/Methods/GetBootMedium.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/PLC/Methods/GetBootMedium.py b/PLC/Methods/GetBootMedium.py
index 83d14e9e..aa396e5e 100644
--- a/PLC/Methods/GetBootMedium.py
+++ b/PLC/Methods/GetBootMedium.py
@@ -234,9 +234,9 @@ class GetBootMedium(Method):
 
         node_id=node['node_id']
 
-        tag=Nodes([node_id],['arch'])[0]['arch']
+        tag=Nodes(self.api,[node_id],['arch'])[0]['arch']
         if tag: arch=tag
-        tag=Nodes([node_id],['arch'])[0]['pldistro']
+        tag=Nodes(self.api,[node_id],['arch'])[0]['pldistro']
         if tag: pldistro=tag
 
         return (pldistro,arch)
-- 
2.47.0