git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bbd796a
)
added all_fields class variable
author
Tony Mack
<tmack@cs.princeton.edu>
Thu, 14 Sep 2006 15:45:24 +0000
(15:45 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Thu, 14 Sep 2006 15:45:24 +0000
(15:45 +0000)
PLC/NodeGroups.py
patch
|
blob
|
history
diff --git
a/PLC/NodeGroups.py
b/PLC/NodeGroups.py
index
0e8b233
..
13d3ea4
100644
(file)
--- a/
PLC/NodeGroups.py
+++ b/
PLC/NodeGroups.py
@@
-4,7
+4,7
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
# Mark Huang <mlhuang@cs.princeton.edu>
# 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
#
from types import StringTypes
@@
-35,6
+35,7
@@
class NodeGroup(Row):
'node_ids': Parameter([int], "List of nodes in this node group"),
}
'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
def __init__(self, api, fields):
Row.__init__(self, fields)
self.api = api