X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2Fupdate.py;h=768116a435418ffc8829812da23eed334f669e84;hb=896d8268b94d2f6ca171711fab28becaac32366e;hp=05a3d390a671ef653cfa31774f28ced8ee9ec4e8;hpb=5d8629f2f0e024b08411a1a710ac927f0f02bcfd;p=sfa.git diff --git a/sfa/methods/update.py b/sfa/methods/update.py index 05a3d390..768116a4 100644 --- a/sfa/methods/update.py +++ b/sfa/methods/update.py @@ -63,7 +63,7 @@ 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: + if 'name' in pl_record: pl_record.pop('name') self.api.plshell.UpdateSlice(self.api.plauth, pointer, pl_record)