Removed depreciated import of errors in frontend.py

This commit is contained in:
Jason Gerard DeRose 2009-01-23 13:08:24 -07:00 committed by Rob Crittenden
parent 0313f03277
commit e0b00d5981
3 changed files with 7 additions and 5 deletions

View File

@ -25,8 +25,6 @@ import re
import inspect import inspect
import plugable import plugable
from plugable import lock, check_name from plugable import lock, check_name
import errors
from errors import check_type, check_isinstance, raise_TypeError
from parameters import create_param, Param, Str, Flag, Password from parameters import create_param, Param, Str, Flag, Password
from util import make_repr from util import make_repr
@ -272,7 +270,7 @@ class Command(plugable.Plugin):
""" """
Validate all values. Validate all values.
If any value fails the validation, `ipalib.errors.ValidationError` If any value fails the validation, `ipalib.errors2.ValidationError`
(or a subclass thereof) will be raised. (or a subclass thereof) will be raised.
""" """
for param in self.params(): for param in self.params():

View File

@ -207,7 +207,9 @@ class KerbTransport(SafeTransport):
class xmlclient(Backend): class xmlclient(Backend):
""" """
Forwarding backend for XML-RPC client. Forwarding backend plugin for XML-RPC client.
Also see the `ipaserver.rpcserver.xmlserver` plugin.
""" """
connection_name = 'xmlconn' connection_name = 'xmlconn'

View File

@ -41,7 +41,9 @@ def params_2_args_options(params):
class xmlserver(Backend): class xmlserver(Backend):
""" """
Execution backend for XML-RPC server. Execution backend plugin for XML-RPC server.
Also see the `ipalib.rpc.xmlclient` plugin.
""" """
def dispatch(self, method, params): def dispatch(self, method, params):