get rid of svn keywords once and for good
[plcapi.git] / PLC / Methods / BlacklistKey.py
index 9622606..2afd664 100644 (file)
@@ -1,4 +1,3 @@
-# $Id#
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -24,7 +23,7 @@ class BlacklistKey(Method):
         ]
 
     returns = Parameter(int, '1 if successful')
-   
+
     def call(self, auth, key_id):
         # Get associated key details
         keys = Keys(self.api, [key_id])
@@ -35,9 +34,9 @@ class BlacklistKey(Method):
         # N.B.: Can blacklist any key, even foreign ones
 
         key.blacklist()
-       
-       # Logging variables
-       self.event_objects = {'Key': [key['key_id']]}
-       self.message = 'Key %d blacklisted' % key['key_id']
+
+        # Logging variables
+        self.event_objects = {'Key': [key['key_id']]}
+        self.message = 'Key %d blacklisted' % key['key_id']
 
         return 1