X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2Fupdate.py;h=05a3d390a671ef653cfa31774f28ced8ee9ec4e8;hb=5d8629f2f0e024b08411a1a710ac927f0f02bcfd;hp=b4b0f60a4a6ecd397738377140c8a672f095db47;hpb=087fe20b9e7919903c197f208d46d4432ee6380d;p=sfa.git diff --git a/sfa/methods/update.py b/sfa/methods/update.py index b4b0f60a..05a3d390 100644 --- a/sfa/methods/update.py +++ b/sfa/methods/update.py @@ -63,6 +63,8 @@ class update(Method): elif type == "slice": hrn=record.get_name() pl_record=self.api.geni_fields_to_pl_fields(type, hrn, record) + if 'name' in pl_reocrd: + pl_record.pop('name') self.api.plshell.UpdateSlice(self.api.plauth, pointer, pl_record) elif type == "user":