Add two new fields to Nodes & DB to track last run-time and last down-time
[plcapi.git] / PLC / Methods / AddPerson.py
index 99f634c..8840975 100644 (file)
@@ -1,5 +1,3 @@
-# $Id$
-# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -38,8 +36,8 @@ class AddPerson(Method):
         person = Person(self.api, person_fields)
         person.sync()
 
-       # Logging variables
-       self.event_objects = {'Person': [person['person_id']]}
-       self.message = 'Person %d added' % person['person_id']  
+        # Logging variables
+        self.event_objects = {'Person': [person['person_id']]}
+        self.message = 'Person %d added' % person['person_id']
 
         return person['person_id']