diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-10-30 02:20:28 -0600 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-10-30 02:20:28 -0600 |
commit | 6879140db790a23a8782f7200400f2b58a69f6a0 (patch) | |
tree | 9fb37ec6e2ccc109b06f35ab6151e8f2adba282d /ipalib/plugable.py | |
parent | 2fee6a3e20169f12b837647f0f71d6f28937490f (diff) | |
download | freeipa-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.py | 3 |
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): |