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:
f34d298
)
- use site_fields instead of optional_vals
author
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 13 Oct 2006 20:19:26 +0000
(20:19 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 13 Oct 2006 20:19:26 +0000
(20:19 +0000)
PLC/Methods/AddSite.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/AddSite.py
b/PLC/Methods/AddSite.py
index
322c356
..
8a0651e
100644
(file)
--- a/
PLC/Methods/AddSite.py
+++ b/
PLC/Methods/AddSite.py
@@
-11,7
+11,7
@@
can_update = lambda (field, value): field in \
class AddSite(Method):
"""
Adds a new site, and creates a node group for that site. Any
- fields specified in
optional_val
s are used, otherwise defaults are
+ fields specified in
site_field
s are used, otherwise defaults are
used.
Returns the new site_id (> 0) if successful, faults otherwise.