From e0b00d598147f294c88b3cfb1b2218fe4381792a Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Fri, 23 Jan 2009 13:08:24 -0700 Subject: Removed depreciated import of errors in frontend.py --- ipalib/frontend.py | 4 +--- ipalib/rpc.py | 4 +++- ipaserver/rpcserver.py | 4 +++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ipalib/frontend.py b/ipalib/frontend.py index 6a7d1719f..eb7f45d63 100644 --- a/ipalib/frontend.py +++ b/ipalib/frontend.py @@ -25,8 +25,6 @@ import re import inspect import plugable 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 util import make_repr @@ -272,7 +270,7 @@ class Command(plugable.Plugin): """ 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. """ for param in self.params(): diff --git a/ipalib/rpc.py b/ipalib/rpc.py index 9e7060d28..803602028 100644 --- a/ipalib/rpc.py +++ b/ipalib/rpc.py @@ -207,7 +207,9 @@ class KerbTransport(SafeTransport): 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' diff --git a/ipaserver/rpcserver.py b/ipaserver/rpcserver.py index 5e886abca..8c04158a8 100644 --- a/ipaserver/rpcserver.py +++ b/ipaserver/rpcserver.py @@ -41,7 +41,9 @@ def params_2_args_options(params): 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): -- cgit