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
- - removed anything having to do with event_type/event_object
[plcapi.git]
/
PLC
/
Methods
/
AddSliceAttributeType.py
diff --git
a/PLC/Methods/AddSliceAttributeType.py
b/PLC/Methods/AddSliceAttributeType.py
index
e481b7b
..
aec8930
100644
(file)
--- a/
PLC/Methods/AddSliceAttributeType.py
+++ b/
PLC/Methods/AddSliceAttributeType.py
@@
-27,8
+27,6
@@
class AddSliceAttributeType(Method):
returns = Parameter(int, 'New attribute_id (> 0) if successful')
- event_type = 'Add'
- object_type = 'SliceAttributeType'
def call(self, auth, attribute_type_fields):
attribute_type_fields = dict(filter(can_update, attribute_type_fields.items()))