From f82c48f775d1a8440a19d2040dbc8da51cec04b1 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Sun, 21 Dec 2008 19:58:48 -0700 Subject: Added note in Plugin.set_api() about Plugin.log attribute being depreciated --- ipalib/plugable.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipalib/plugable.py') diff --git a/ipalib/plugable.py b/ipalib/plugable.py index 019386c37..01b9b33c8 100644 --- a/ipalib/plugable.py +++ b/ipalib/plugable.py @@ -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) -- cgit