get rid of svn keywords once and for good
[plcapi.git] / PLC / Methods / GetPCUs.py
index ee9ab4d..8b3b91f 100644 (file)
@@ -32,7 +32,7 @@ class GetPCUs(Method):
     returns = [PCU.fields]
 
     def call(self, auth, pcu_filter = None, return_fields = None):
-       # If we are not admin
+        # If we are not admin
         if not (isinstance(self.caller, Person) and 'admin' in self.caller['roles']):
             # Return only the PCUs at our site
             valid_pcu_ids = []
@@ -67,7 +67,7 @@ class GetPCUs(Method):
         # Remove pcu_id if not specified
         if added_fields:
             for pcu in pcus:
-               if 'pcu_id' in pcu:
-                   del pcu['pcu_id']
+                if 'pcu_id' in pcu:
+                    del pcu['pcu_id']
 
         return pcus