dataimport.py
changeset 8797 f0535129def6
parent 8796 2884368b263c
child 8807 d9aaad2c52e9
equal deleted inserted replaced
8796:2884368b263c 8797:f0535129def6
   557             commit = commit or cnx.commit
   557             commit = commit or cnx.commit
   558         else:
   558         else:
   559             session.set_cnxset()
   559             session.set_cnxset()
   560         self.session = session
   560         self.session = session
   561         self._commit = commit or session.commit
   561         self._commit = commit or session.commit
   562 
       
   563     @deprecated("[3.7] checkpoint() deprecated. use commit() instead")
       
   564     def checkpoint(self):
       
   565         self.commit()
       
   566 
   562 
   567     def commit(self):
   563     def commit(self):
   568         txuuid = self._commit()
   564         txuuid = self._commit()
   569         self.session.set_cnxset()
   565         self.session.set_cnxset()
   570         return txuuid
   566         return txuuid