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

def MyNewsHandler::MyNewsHandler::getid (   self,
  conn,
  table = None 
)

Get the next available news Id 

Definition at line 42 of file MyNewsHandler.py.

00042                                      :
        """ Get the next available news Id """

        self.log.notice("[MyNewsHandler]: getid")
        id = conn.insert_id()
        self.log.debug("[MyNewsHandler]: getid -> id='%d'" % id)

        return id
      
    def add_img(self, filename, filetype, filedata, TNfiledata, filesize):


Generated by  Doxygen 1.6.0   Back to index