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
remove an ugly hack that had GetSliceFamily set the slice vref to omf
[plcapi.git]
/
PLC
/
Methods
/
DeleteAddressType.py
diff --git
a/PLC/Methods/DeleteAddressType.py
b/PLC/Methods/DeleteAddressType.py
index
9dbe652
..
dae2858
100644
(file)
--- a/
PLC/Methods/DeleteAddressType.py
+++ b/
PLC/Methods/DeleteAddressType.py
@@
-1,3
+1,5
@@
+# $Id$
+# $URL$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
@@
-28,6
+30,6
@@
class DeleteAddressType(Method):
raise PLCInvalidArgument, "No such address type"
address_type = address_types[0]
address_type.delete()
raise PLCInvalidArgument, "No such address type"
address_type = address_types[0]
address_type.delete()
- self.object_ids = [address_type['address_type_id']]
+ self.event_objects = {'AddressType': [address_type['address_type_id']]}
return 1
return 1