summaryrefslogtreecommitdiffstats
path: root/ipalib/backend.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2015-06-24 15:14:54 +0000
committerJan Cholasta <jcholast@redhat.com>2015-07-01 13:05:30 +0000
commitf87ba5ee080ebf24d2420d105aa4026e844439db (patch)
tree3464ff0affb31864785cc98dbcf6b0b4bdccd117 /ipalib/backend.py
parente21dad4e1c37bc171a4bc6095a8c9bdd2cc53f5c (diff)
downloadfreeipa-f87ba5ee080ebf24d2420d105aa4026e844439db.tar.gz
freeipa-f87ba5ee080ebf24d2420d105aa4026e844439db.tar.xz
freeipa-f87ba5ee080ebf24d2420d105aa4026e844439db.zip
plugable: Move plugin base class and override logic to API
Each API object now maintains its own view of registered plugins. This change removes the need to register plugin base classes. This reverts commit 2db741e847c60d712dbc8ee1cd65a978a78eb312. https://fedorahosted.org/freeipa/ticket/3090 https://fedorahosted.org/freeipa/ticket/5073 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipalib/backend.py')
-rw-r--r--ipalib/backend.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/ipalib/backend.py b/ipalib/backend.py
index fcbbd254a..0f381cb9e 100644
--- a/ipalib/backend.py
+++ b/ipalib/backend.py
@@ -27,10 +27,7 @@ import os
from errors import PublicError, InternalError, CommandError
from request import context, Connection, destroy_context
-register = plugable.Registry()
-
-@register.base()
class Backend(plugable.Plugin):
"""
Base class for all backend plugins.