X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FAddSliceTag.py;h=46381164f31be0b53e2b1b26cb023d75f21165e4;hb=4f872c9f1e905ce3c4495cc9933631fd79ce099b;hp=34195f6a49a1cbdbdff2b472eebae82191d13796;hpb=1a469b35434146b269d683fe262e477835e51d87;p=plcapi.git diff --git a/PLC/Methods/AddSliceTag.py b/PLC/Methods/AddSliceTag.py index 34195f6a..46381164 100644 --- a/PLC/Methods/AddSliceTag.py +++ b/PLC/Methods/AddSliceTag.py @@ -90,7 +90,7 @@ class AddSliceTag(Method): elif role=='tech': if node_id_or_hostname is not None and \ AuthorizeHelpers.node_id_or_hostname_in_slice(self.api, node_id_or_hostname_in_slice, slice): - granted=True ; break + granted=True ; break if not granted: raise PLCPermissionDenied, "%s, forbidden tag %s"%(self.name,tag_type['tagname'])