X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=geni%2Fmethods%2Fupdate.py;h=1f2788d16d5256e8bff9b513ee533c47ce8e4af7;hb=1558d5577c91788ef01eab10f6dfadef7c51b511;hp=11841832a5c14f52ea33cb83f1b248f5a3fbd82c;hpb=39f550455dfb790ada7d04b3aa1cc48ebb127809;p=sfa.git diff --git a/geni/methods/update.py b/geni/methods/update.py index 11841832..1f2788d1 100644 --- 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 - if (type == "sa") or (type == "ma"): + if (type == "authority"): 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) - # update membership for researchers, pis, owners, operators^M + # update membership for researchers, pis, owners, operators self.api.update_membership(existing_record, record) - return 1 + return 1