def PDFEmitter(target, source, env):
    """Strips any .aux or .log files from the input source list.
    These are created by the TeX Builder that in all likelihood was
    used to generate the .dvi file we're using as input, and we only
    care about the .dvi file.
    """
    def strip_suffixes(n):
        return not ['.aux', '.log'] in SCons.Util.splitext(str(n))[1]
    source = list(filter(strip_suffixes, source))
    return (target, source)
dataset/ETHPy150Open kayhayen/Nuitka/nuitka/build/inline_copy/lib/scons-2.3.2/SCons/Tool/dvipdf.py/PDFEmitter/swapped operands of `in`