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
- now using event_objects to log affected objects
[plcapi.git]
/
PLC
/
Methods
/
AddSliceAttributeType.py
diff --git
a/PLC/Methods/AddSliceAttributeType.py
b/PLC/Methods/AddSliceAttributeType.py
index
aec8930
..
095ae83
100644
(file)
--- a/
PLC/Methods/AddSliceAttributeType.py
+++ b/
PLC/Methods/AddSliceAttributeType.py
@@
-33,6
+33,6
@@
class AddSliceAttributeType(Method):
attribute_type = SliceAttributeType(self.api, attribute_type_fields)
attribute_type.sync()
attribute_type = SliceAttributeType(self.api, attribute_type_fields)
attribute_type.sync()
- self.
object_ids = [attribute_type['attribute_type_id']]
+ self.
event_objects = {'AttributeType': [attribute_type['attribute_type_id']]}
return attribute_type['attribute_type_id']
return attribute_type['attribute_type_id']