mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Removed depreciated import of errors in frontend.py
This commit is contained in:
parent
0313f03277
commit
e0b00d5981
@ -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():
|
||||
|
@ -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'
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user