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
/
AddSite.py
diff --git
a/PLC/Methods/AddSite.py
b/PLC/Methods/AddSite.py
index
3148048
..
9bd1734
100644
(file)
--- a/
PLC/Methods/AddSite.py
+++ b/
PLC/Methods/AddSite.py
@@
-29,8
+29,6
@@
class AddSite(Method):
returns = Parameter(int, 'New site_id (> 0) if successful')
- event_type = 'Add'
- object_type = 'Site'
def call(self, auth, site_fields):
site_fields = dict(filter(can_update, site_fields.items()))