def _config_content(paths):
    keys = sorted(paths.keys())
    n = max([len(k) for k in keys]) + 2
    content = []
    for name, value in sorted(paths.items()):
        content.append((name.upper().ljust(n), subst_vars(value, paths)) % '%s = %r')
    return "\n".join(content)
dataset/ETHPy150Open cournape/Bento/bento/commands/build.py/_config_content/swapped operands of `%`