remove sfa upcalls
[plcapi.git] / PLC / Methods / AddSite.py
index 7b8f488..219f647 100644 (file)
@@ -1,4 +1,5 @@
-# $Id#
+# $Id$
+# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -35,8 +36,8 @@ class AddSite(Method):
         site = Site(self.api, site_fields)
         site.sync()
        
-       # Logging variables 
-       self.event_objects = {'Site': [site['site_id']]}
+        # Logging variables 
+        self.event_objects = {'Site': [site['site_id']]}
         self.message = 'Site %d created' % site['site_id']
        
-       return site['site_id']
+        return site['site_id']