def load_meta_file(file_path):
    if not os.path.isfile(file_path):
        raise Exception(file_path % 'File "%s" does not exist.')

    file_name, file_ext = os.path.splitext(file_path)
    if file_ext not in ALLOWED_EXTS:
        raise Exception('Unsupported meta type %s, file %s. Allowed: %s' %
                        (file_ext, file_path, ALLOWED_EXTS))

    with open(file_path, 'r') as f:
        return PARSER_FUNCS[file_ext](f)
dataset/ETHPy150Open StackStorm/st2/st2common/st2common/util/loader.py/load_meta_file/swapped operands of `%`