예제 #1
0
파일: base.py 프로젝트: pars-linux/uludag
    def commitDB(self):
        """ Commit changes to DB """

        self._sq.commit()

        if self.config.updateSignAfterEachCommit:
            update_sum(self._db)
예제 #2
0
    def commitDB(self):
        """ Commit changes to DB """

        self._sq.commit()

        if self.config.updateSignAfterEachCommit:
            update_sum(self._db)
예제 #3
0
 def closeAndUpdateSum(self):
     """ It closes the db and updates db sum file """
     if self._sq:
         self._sq.close()
         update_sum(self._db)
예제 #4
0
 def closeAndUpdateSum(self):
     """ It closes the db and updates db sum file """
     if self._sq:
         self._sq.close()
         update_sum(self._db)
예제 #5
0
 def updateLocalSum():
     if os.path.exists(self.local_db):
         update_sum(self.local_db)