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
- Auth() now implies BootAuth()
[plcapi.git]
/
PLC
/
Methods
/
DeleteSliceAttribute.py
diff --git
a/PLC/Methods/DeleteSliceAttribute.py
b/PLC/Methods/DeleteSliceAttribute.py
index
11ad018
..
ea3ecb2
100644
(file)
--- a/
PLC/Methods/DeleteSliceAttribute.py
+++ b/
PLC/Methods/DeleteSliceAttribute.py
@@
-28,6
+28,8
@@
class DeleteSliceAttribute(Method):
returns = Parameter(int, '1 if successful')
+ object_type = 'Slice'
+
def call(self, auth, slice_attribute_id):
slice_attributes = SliceAttributes(self.api, [slice_attribute_id])