On Fri, Jan 21, 2011 at 11:02 AM, Michael Hanselmann <[email protected]> wrote:
> Am 21. Januar 2011 09:58 schrieb René Nussbaumer <[email protected]>:
>> +    for node in self.nodes:
>> +      node_entry = [(constants.RS_NORMAL, node.name)]
>> +      ret.append(node_entry)
>
> Why is the result a list and not a dict indexed by the node name?

For the same reason we used RS_* constants. If we want to move it to
query it has to be a list, it's not a hash there either.

René

Reply via email to