(self, q, desc, fn)
Print/write/apply repair sql.
Print/write/apply repair sql.
Print / write / apply repair sql .
def show_fix(self, q, desc, fn):
        """Print/write/apply repair sql."""
        self.log.debug("missed %s: %s" % (desc, q))
        open(fn, "a").write("%s\n" % q)

        if self.apply_fixes:
            self.apply_cursor.execute(q)
def show_fix ( self , q , desc , fn ) : self . log . debug ( "missed %s: %s" % ( desc , q ) ) open ( fn , "a" ) . write ( "%s\n" % q ) if self . apply_fixes : self . apply_cursor . execute ( q )