X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FDeleteSlice.py;h=d3bc8f4418e527859a9ade6db7e3d348f04e7a48;hb=e58db379e1197b73d3b6f014d5afd51ce852b43c;hp=d2d4be8b5669ff7ee8c7094675c99d0f13f79e5d;hpb=713e74813ad3dee0958294b3af731a8098eb61b1;p=plcapi.git diff --git a/PLC/Methods/DeleteSlice.py b/PLC/Methods/DeleteSlice.py index d2d4be8..d3bc8f4 100644 --- a/PLC/Methods/DeleteSlice.py +++ b/PLC/Methods/DeleteSlice.py @@ -5,7 +5,6 @@ from PLC.Method import Method from PLC.Parameter import Parameter, Mixed from PLC.Slices import Slice, Slices from PLC.Auth import Auth -from PLC.SFA import SFA class DeleteSlice(Method): """ @@ -48,7 +47,4 @@ class DeleteSlice(Method): slice.delete() self.event_objects = {'Slice': [slice['slice_id']]} - sfa = SFA(self.api) - sfa.delete_record(slice, 'slice') - return 1