mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Added note in Plugin.set_api() about Plugin.log attribute being depreciated
This commit is contained in:
@@ -367,6 +367,7 @@ class Plugin(ReadOnly):
|
||||
for name in api:
|
||||
assert not hasattr(self, name)
|
||||
setattr(self, name, api[name])
|
||||
# FIXME: the 'log' attribute is depreciated. See Plugin.__init__()
|
||||
for name in ('env', 'context', 'log'):
|
||||
if hasattr(api, name):
|
||||
assert not hasattr(self, name)
|
||||
|
Reference in New Issue
Block a user