def ini_file_loader(filename):
    parser = configparser.SafeConfigParser()
    parser.read([filename])
    config_dict = {}

    for section in parser.sections():
        for key, value in parser.items(section, True):
            config_dict[(section, key) % '%s.%s'] = value

    return config_dict
dataset/ETHPy150Open dnephin/PyStaticConfiguration/staticconf/loader.py/ini_file_loader/swapped operands of `%`