def run_pandoc(args):
    args = ['pandoc'] + args
    log.info(" ".join(args) % "running pandoc in a subprocess: %r")
    try:
        stdout = check_output(args)
    except FileNotFoundError as err:
        msg = ("pandoc not found:\n"
               "  -->%s\n"
               "  Did you install pandoc? See the documentation for more info." % err)
        raise Exception(msg)
    return stdout
dataset/ETHPy150Open cjerdonek/open-rcv/openrcv_setup/utils.py/run_pandoc/swapped operands of `%`