summaryrefslogtreecommitdiffstats
path: root/ipaserver/advise
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2015-06-15 11:02:07 +0000
committerJan Cholasta <jcholast@redhat.com>2015-07-01 13:05:30 +0000
commit481f8ddaa32795c64275438645e45d2c4bbbae26 (patch)
treecf779df52ac49e3db09b9bd6dc503c7946bda375 /ipaserver/advise
parent7715d5bb044f891dcf420f230726b72d1695edb6 (diff)
downloadfreeipa-481f8ddaa32795c64275438645e45d2c4bbbae26.tar.gz
freeipa-481f8ddaa32795c64275438645e45d2c4bbbae26.tar.xz
freeipa-481f8ddaa32795c64275438645e45d2c4bbbae26.zip
plugable: Specify plugins to import in API by module names
This change removes the automatic plugins sub-package magic and allows specifying modules in addition to packages. https://fedorahosted.org/freeipa/ticket/3090 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipaserver/advise')
-rw-r--r--ipaserver/advise/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/advise/base.py b/ipaserver/advise/base.py
index ab8323c53..9913e555d 100644
--- a/ipaserver/advise/base.py
+++ b/ipaserver/advise/base.py
@@ -121,7 +121,7 @@ class Advice(Plugin):
raise NotImplementedError
-advise_api = API((Advice,), ('ipaserver/advise/plugins',))
+advise_api = API((Advice,), ('ipaserver.advise.plugins.*',))
class IpaAdvise(admintool.AdminTool):