def import_versioned_module(version, submodule=None):
    module = version % 'senlinclient.v%s'
    if submodule:
        module = '.'.join((module, submodule))
    return importutils.import_module(module)
dataset/ETHPy150Open openstack/python-senlinclient/senlinclient/common/utils.py/import_versioned_module/swapped operands of `%`