From: Tony Mack Date: Thu, 14 Sep 2006 15:45:24 +0000 (+0000) Subject: added all_fields class variable X-Git-Tag: pycurl-7_13_1~755 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f9fc4377148a0a0a3237b2b37630e1a3ae1b9152;p=plcapi.git added all_fields class variable --- diff --git a/PLC/NodeGroups.py b/PLC/NodeGroups.py index 0e8b233..13d3ea4 100644 --- a/PLC/NodeGroups.py +++ b/PLC/NodeGroups.py @@ -4,7 +4,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: NodeGroups.py,v 1.5 2006/09/12 18:04:02 tmack Exp $ +# $Id: NodeGroups.py,v 1.6 2006/09/13 15:40:26 tmack Exp $ # from types import StringTypes @@ -35,6 +35,7 @@ class NodeGroup(Row): 'node_ids': Parameter([int], "List of nodes in this node group"), } + all_fields = dict(fields.items() + join_fields.items()) def __init__(self, api, fields): Row.__init__(self, fields) self.api = api