X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FAdmGetNodeGroupNodes.py;h=51c392a0419936b1c9be37d9021ef113da551c25;hb=cc7c766aadbd43bddc751497f100b252bc9c5d6f;hp=2daed59e3de14339551cc7fc4081a207d92f05fb;hpb=1f8c38dd1357c93e4be8d94456b7274a591d2db4;p=plcapi.git diff --git a/PLC/Methods/AdmGetNodeGroupNodes.py b/PLC/Methods/AdmGetNodeGroupNodes.py index 2daed59..51c392a 100644 --- a/PLC/Methods/AdmGetNodeGroupNodes.py +++ b/PLC/Methods/AdmGetNodeGroupNodes.py @@ -30,7 +30,7 @@ class AdmGetNodeGroupNodes(Method): raise PLCInvalidArgument, "No such node group" # Get the info for the node group specified - nodegroup = nodegroups.values()[0] + nodegroup = nodegroups[0] # Return the list of node_ids return nodegroup['node_ids']