diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-10-27 15:19:49 -0600 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-10-27 15:19:49 -0600 |
commit | e6254026fe73c423d357a2fa1489de35475da46c (patch) | |
tree | c24f21fc60eff3ee62d36a99325197581f63fb37 /ipalib/plugable.py | |
parent | 17fd9cc4315f171a8d9e9d189936eea8ba2af0c0 (diff) | |
download | freeipa-e6254026fe73c423d357a2fa1489de35475da46c.tar.gz freeipa-e6254026fe73c423d357a2fa1489de35475da46c.tar.xz freeipa-e6254026fe73c423d357a2fa1489de35475da46c.zip |
Implemented basic CLI.bootstrap(); added corresponding unit tests
Diffstat (limited to 'ipalib/plugable.py')
-rw-r--r-- | ipalib/plugable.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py index 594849896..f704077a2 100644 --- a/ipalib/plugable.py +++ b/ipalib/plugable.py @@ -714,7 +714,7 @@ class API(DictProxy): self.__d = dict() self.__done = set() self.register = Registrar(*allowed) - self.env = Env + self.env = Env() super(API, self).__init__(self.__d) def __doing(self, name): @@ -736,6 +736,7 @@ class API(DictProxy): Initialize environment variables needed by built-in plugins. """ self.__doing('bootstrap') + self.env._bootstrap(**overrides) def load_plugins(self, dry_run=False): """ |