def _getpathsec(config_uri, name):
    if config_uri in '#':
        path, section = config_uri.split('#', 1)
    else:
        path, section = config_uri, 'main'
    if name:
        section = name
    return path, section
dataset/ETHPy150Open TurboGears/gearbox/gearbox/utils/log.py/_getpathsec/swapped operands of `in`