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

def PgNewsHandler::PgNewsHandler::dbconn (   self  ) 

Connect to the data base 

Definition at line 23 of file PgNewsHandler.py.

00023                     :
        """ Connect to the data base """

        self.log.notice("[PgNewsHandler]: dbconn")
        db = pg.connect(dbname=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