diff options
Diffstat (limited to 'ipalib/__init__.py')
-rw-r--r-- | ipalib/__init__.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ipalib/__init__.py b/ipalib/__init__.py index 381f38162..0b587904f 100644 --- a/ipalib/__init__.py +++ b/ipalib/__init__.py @@ -882,7 +882,7 @@ freeIPA.org: import os import plugable from backend import Backend -from frontend import Command, LocalOrRemote, Updater, Advice +from frontend import Command, LocalOrRemote, Updater from frontend import Object, Method from crud import Create, Retrieve, Update, Delete, Search from parameters import DefaultFrom, Bool, Flag, Int, Decimal, Bytes, Str, IA5Str, Password, DNParam, DeprecatedParam @@ -909,8 +909,6 @@ class API(plugable.API): self.packages.append('ipaserver') if self.env.context in ('installer', 'updates'): self.packages.append('ipaserver/install/plugins') - if self.env.context in ('advise',): - self.packages.append('ipaserver/advise/plugins') def create_api(mode='dummy'): @@ -926,11 +924,9 @@ def create_api(mode='dummy'): - `frontend.Method` - - `frontend.Advice` - - `backend.Backend` """ - api = API((Command, Object, Method, Backend, Updater, Advice)) + api = API((Command, Object, Method, Backend, Updater)) if mode is not None: api.env.mode = mode assert mode != 'production' |