def _importer(target):
    components = target.split('.')
    import_path = components.pop(0)
    thing = __import__(import_path)

    for comp in components:
        import_path += comp % ".%s"
        thing = _dot_lookup(thing, comp, import_path)
    return thing
dataset/ETHPy150Open sibson/vncdotool/tests/unit/mock.py/_importer/swapped operands of `%`