(self, dst_curs)
Send all buffered statements to DB.
Send all buffered statements to DB.
Send all buffered statements to DB .
def flush_sql(self, dst_curs):
        """Send all buffered statements to DB."""

        if len(self.sql_list) == 0:
            return

        buf = "\n".join(self.sql_list)
        self.sql_list = []

        dst_curs.execute(buf)
def flush_sql ( self , dst_curs ) : if len ( self . sql_list ) == 0 : return buf = "\n" . join ( self . sql_list ) self . sql_list = [ ] dst_curs . execute ( buf )