====
[plcapi.git] / PLC / Methods / UpdatePCU.py
index 2a1fe3b..fb17176 100644 (file)
@@ -1,5 +1,3 @@
-# $Id$
-# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -45,6 +43,7 @@ class UpdatePCU(Method):
                 raise PLCPermissionDenied, "Not allowed to update that PCU"
 
         pcu.update(pcu_fields)
+        pcu.update_last_updated(commit=False)
         pcu.sync()
 
         # Logging variables