summaryrefslogtreecommitdiffstats
path: root/ipalib/plugable.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-10-30 02:20:28 -0600
committerJason Gerard DeRose <jderose@redhat.com>2008-10-30 02:20:28 -0600
commit6879140db790a23a8782f7200400f2b58a69f6a0 (patch)
tree9fb37ec6e2ccc109b06f35ab6151e8f2adba282d /ipalib/plugable.py
parent2fee6a3e20169f12b837647f0f71d6f28937490f (diff)
downloadfreeipa-6879140db790a23a8782f7200400f2b58a69f6a0.tar.gz
freeipa-6879140db790a23a8782f7200400f2b58a69f6a0.tar.xz
freeipa-6879140db790a23a8782f7200400f2b58a69f6a0.zip
Added ipalib.plugins.f_misc with new 'context' Command; moved 'env' Command from cli to f_misc
Diffstat (limited to 'ipalib/plugable.py')
-rw-r--r--ipalib/plugable.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py
index 9ddcb30f6..2f86fa220 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):