From: Thierry Parmentelat Date: Tue, 9 Dec 2008 13:04:37 +0000 (+0000) Subject: oops X-Git-Tag: PLCAPI-4.3-3~27 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1abec48c9900b957b8c26388d829a7125519a212;hp=36bf4db8cd5210dfdd0e2fd2daa6d90dc5270cdb;p=plcapi.git oops --- diff --git a/PLC/Methods/GetBootMedium.py b/PLC/Methods/GetBootMedium.py index 83d14e9..aa396e5 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)