-# $Id$
-# $URL$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
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()