From 6879140db790a23a8782f7200400f2b58a69f6a0 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Thu, 30 Oct 2008 02:20:28 -0600 Subject: Added ipalib.plugins.f_misc with new 'context' Command; moved 'env' Command from cli to f_misc --- ipalib/plugable.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipalib/plugable.py') diff --git a/ipalib/plugable.py b/ipalib/plugable.py index 9ddcb30f..2f86fa22 100644 --- a/ipalib/plugable.py +++ b/ipalib/plugable.py @@ -723,6 +723,9 @@ class LazyContext(object): self.__context.__dict__[name] = value return self.__context.__dict__[name] + def __getitem__(self, key): + return self.__getattr__(key) + class API(DictProxy): -- cgit