Commit 5be21a28 authored by Łukasz Nowak's avatar Łukasz Nowak

Support instance dict, as another section.

parent e85f3ba9
...@@ -107,5 +107,9 @@ def main(*args): ...@@ -107,5 +107,9 @@ def main(*args):
CONFIG['bot_environment'] = bot_environment CONFIG['bot_environment'] = bot_environment
CONFIG['environment'] = dict(config.items('environment')) CONFIG['environment'] = dict(config.items('environment'))
CONFIG['slapproxy_binary'] = geto('slapproxy_binary') CONFIG['slapproxy_binary'] = geto('slapproxy_binary')
instance_dict = {}
if 'instance_dict' in config.sections():
instance_dict = dict(config.items('instance_dict'))
CONFIG['instance_dict'] = instance_dict
testnode.run(CONFIG) testnode.run(CONFIG)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment