cosmetic changes in sendmail.py - please the linter
[plcapi.git] / PLC / Methods / DeleteKeyType.py
index d227368..81bbd56 100644 (file)
@@ -1,5 +1,3 @@
-# $Id$
-# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -28,7 +26,7 @@ class DeleteKeyType(Method):
     def call(self, auth, name):
         key_types = KeyTypes(self.api, [name])
         if not key_types:
-            raise PLCInvalidArgument, "No such key type"
+            raise PLCInvalidArgument("No such key type")
         key_type = key_types[0]
 
         key_type.delete()