git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/master'
[plcapi.git]
/
PLC
/
Methods
/
DeleteSlice.py
diff --git
a/PLC/Methods/DeleteSlice.py
b/PLC/Methods/DeleteSlice.py
index
29840ee
..
d3bc8f4
100644
(file)
--- 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.Parameter import Parameter, Mixed
from PLC.Slices import Slice, Slices
from PLC.Auth import Auth
-from PLC.SFA import SFA
class DeleteSlice(Method):
"""
class DeleteSlice(Method):
"""
@@
-48,7
+47,4
@@
class DeleteSlice(Method):
slice.delete()
self.event_objects = {'Slice': [slice['slice_id']]}
slice.delete()
self.event_objects = {'Slice': [slice['slice_id']]}
- sfa = SFA()
- sfa.delete_record(slice, 'slice')
-
return 1
return 1