diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-08-09 19:39:58 +0000 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-08-09 19:39:58 +0000 |
commit | 0edb22c9ac70c5acfab51318810f693d59fab955 (patch) | |
tree | 54ecb333c8e28e1a9bd07e9a287c22a8d2efe110 /ipalib/plugable.py | |
parent | 543aea31a4bf85d5843abd808d2200117ff35252 (diff) | |
download | freeipa.git-0edb22c9ac70c5acfab51318810f693d59fab955.tar.gz freeipa.git-0edb22c9ac70c5acfab51318810f693d59fab955.tar.xz freeipa.git-0edb22c9ac70c5acfab51318810f693d59fab955.zip |
102: After the API instance calls plugin.finalize(), it also calls plugin.__lock__()
Diffstat (limited to 'ipalib/plugable.py')
-rw-r--r-- | ipalib/plugable.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py index 029c8403..1341a98f 100644 --- a/ipalib/plugable.py +++ b/ipalib/plugable.py @@ -447,6 +447,8 @@ class API(ReadOnly): object.__setattr__(self, base.__name__, ns) for plugin in d.values(): plugin.finalize(self) + plugin.__lock__() + assert plugin.__islocked__() is True assert plugin.api is self def __iter__(self): |