(self, curs, sql)
Logs and executes sql statement
Logs and executes sql statement
Logs and executes sql statement
def logexec(self, curs, sql):
        """Logs and executes sql statement"""
        self.log.debug('exec: %s', sql)
        curs.execute(sql)
        self.log.debug('msg: %s, rows: %s', curs.statusmessage, curs.rowcount)
def logexec ( self , curs , sql ) : self . log . debug ( 'exec: %s' , sql ) curs . execute ( sql ) self . log . debug ( 'msg: %s, rows: %s' , curs . statusmessage , curs . rowcount )