server/session.py
changeset 7061 bb2080547722
parent 7054 c8f12ab250b7
child 7083 b8e35cde46e9
equal deleted inserted replaced
7059:1d65b235549f 7061:bb2080547722
   852                 self._free_thread_pool(thread, pool, force_close=True)
   852                 self._free_thread_pool(thread, pool, force_close=True)
   853         self.rollback()
   853         self.rollback()
   854         del self.__threaddata
   854         del self.__threaddata
   855         del self._tx_data
   855         del self._tx_data
   856 
   856 
       
   857     @property
       
   858     def closed(self):
       
   859         return not hasattr(self, '_tx_data')
       
   860 
   857     # transaction data/operations management ##################################
   861     # transaction data/operations management ##################################
   858 
   862 
   859     @property
   863     @property
   860     def transaction_data(self):
   864     def transaction_data(self):
   861         try:
   865         try: