get rid of svn keywords once and for good
[plcapi.git] / PLC / Methods / DeletePCU.py
index 03bbec7..fe59abc 100644 (file)
@@ -1,4 +1,3 @@
-# $Id#
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -36,9 +35,9 @@ class DeletePCU(Method):
                 raise PLCPermissionDenied, "Not allowed to update that PCU"
 
         pcu.delete()
-       
-       # Logging variables
-       self.event_objects = {'PCU': [pcu['pcu_id']]}
-       self.message = 'PCU %d deleted' % pcu['pcu_id']
+
+        # Logging variables
+        self.event_objects = {'PCU': [pcu['pcu_id']]}
+        self.message = 'PCU %d deleted' % pcu['pcu_id']
 
         return 1