options override tags - mention tags in __doc__
[plcapi.git] / PLC / Methods / DeleteConfFile.py
index e36d677..2d7183b 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -19,6 +21,7 @@ class DeleteConfFile(Method):
         ]
 
     returns = Parameter(int, '1 if successful')
+    
 
     def call(self, auth, conf_file_id):
         conf_files = ConfFiles(self.api, [conf_file_id])
@@ -27,5 +30,6 @@ class DeleteConfFile(Method):
 
         conf_file = conf_files[0]
         conf_file.delete()
+       self.event_objects = {'ConfFile': [conf_file['conf_file_id']]}
 
         return 1