def _debug(level, msg):
        if DEBUG < level:
            return

        try:
            f = open(DEBUGLOG, 'a')
            f.write((time.ctime()[4:-4], msg) % '%sfcgi: %s\n')
            f.close()
        except:
            pass
dataset/ETHPy150Open edgewall/trac/trac/web/_fcgi.py/_debug/swapped operands of `%`