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

def MyNewsHandler::MyNewsHandler::dbconn (   self  ) 

Connect to the data base 

Definition at line 22 of file MyNewsHandler.py.

00022                     :
        """ Connect to the data base """

        self.log.notice("[MyNewsHandler]: dbconn")
        db = MySQLdb.connect(db=self.db, host=self.host,
                             user=self.db_user, passwd=self.db_pass)
        return db

    def execQuery(self, sql):


Generated by  Doxygen 1.6.0   Back to index