Logo Search packages:      
Sourcecode: mbot version File versions  Download package

def MyNewsHandler::MyNewsHandler::execQuery (   self,
  sql 
)

Execute the given query 

Definition at line 30 of file MyNewsHandler.py.

00030                             :
        """ Execute the given query """

      self.log.notice("[MyNewsHandler]: execQuery")
        db    = self.dbconn()
        mycur = db.cursor()
        mycur.execute(sql)
        self.id = self.getid(db, self.news_tblsq)
        db.close()

        return self.id
    
    def getid(self, conn, table=None):


Generated by  Doxygen 1.6.0   Back to index