- Change .py files to use 4-space indents and no hard tab characters.
[plcapi.git] / PLC / Methods / UpdatePCU.py
index b8a1b63..2a1fe3b 100644 (file)
@@ -46,9 +46,9 @@ class UpdatePCU(Method):
 
         pcu.update(pcu_fields)
         pcu.sync()
-       
-       # Logging variables
-       self.event_objects = {'PCU': [pcu['pcu_id']]}
-       self.message = 'PCU %d updated: %s' % \
-               (pcu['pcu_id'], ", ".join(pcu_fields.keys()))
+
+        # Logging variables
+        self.event_objects = {'PCU': [pcu['pcu_id']]}
+        self.message = 'PCU %d updated: %s' % \
+                (pcu['pcu_id'], ", ".join(pcu_fields.keys()))
         return 1