def __init__(self, module_name, *args): self.module_name = module_name error = 'Invalid module: "%s".' % self.module_name SoftLayerError.__init__(self, error, *args)
def __init__(self, module_name, command_name, *args): self.module_name = module_name self.command_name = command_name error = 'Invalid command: "%s".' % self.command_name SoftLayerError.__init__(self, error, *args)