git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
switch from sa/ma to authority, fix update_membership_list
[sfa.git]
/
geni
/
methods
/
update.py
diff --git
a/geni/methods/update.py
b/geni/methods/update.py
index
1184183
..
1f2788d
100644
(file)
--- a/
geni/methods/update.py
+++ b/
geni/methods/update.py
@@
-59,7
+59,7
@@
class update(Method):
# update the PLC information that was specified with the record
# update the PLC information that was specified with the record
- if (type == "
sa") or (type == "ma
"):
+ if (type == "
authority
"):
self.api.plshell.UpdateSite(self.api.plauth, pointer, record.get_pl_info())
elif type == "slice":
self.api.plshell.UpdateSite(self.api.plauth, pointer, record.get_pl_info())
elif type == "slice":
@@
-84,7
+84,7
@@
class update(Method):
else:
raise UnknownGeniType(type)
else:
raise UnknownGeniType(type)
- # update membership for researchers, pis, owners, operators
^M
+ # update membership for researchers, pis, owners, operators
self.api.update_membership(existing_record, record)
self.api.update_membership(existing_record, record)
- return 1
+ return 1