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
- modified PasswordAuth.check to be case insensitive when checking email address
[plcapi.git]
/
PLC
/
Methods
/
UpdateSliceAttribute.py
diff --git
a/PLC/Methods/UpdateSliceAttribute.py
b/PLC/Methods/UpdateSliceAttribute.py
index
14e7754
..
5b7d48f
100644
(file)
--- a/
PLC/Methods/UpdateSliceAttribute.py
+++ b/
PLC/Methods/UpdateSliceAttribute.py
@@
-27,6
+27,8
@@
class UpdateSliceAttribute(Method):
returns = Parameter(int, '1 if successful')
+ object_type = 'Slice'
+
def call(self, auth, slice_attribute_id, value):
slice_attributes = SliceAttributes(self.api, [slice_attribute_id])
if not slice_attributes: