def init(globalvars=None, show=False):
global config<EOL>profileini = getprofileini()<EOL>if os.path.exists(profileini):<EOL><INDENT>config = configparser.ConfigParser()<EOL>config.read(profileini)<EOL>mgr = plugins_get_mgr()<EOL>mgr.update_configs(config)<EOL>if show:<EOL><INDENT>for source in config:<EOL><INDENT>print("<STR_LIT>" %(source))<EOL>for k in config[source]:<EOL><INDENT>print("<STR_LIT>" % (k, config[source][k]))<EOL><DEDENT><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>print("<STR_LIT>")<EOL>if not show:<EOL><INDENT>update(globalvars)<EOL><DEDENT><DEDENT>print("<STR_LIT>")<EOL>
Load profile INI