server/session.py
changeset 8761 9c6fb10d246a
parent 8760 17994bf95d6a
child 8762 6b397a0ba1d6
--- a/server/session.py	Fri Mar 22 19:31:21 2013 +0100
+++ b/server/session.py	Fri Mar 22 17:09:49 2013 +0100
@@ -142,7 +142,7 @@
         self.session.reset_security(self.oldread, self.oldwrite)
 
 
-class TransactionData(object):
+class Transaction(object):
     """Small object hold core Transaction data"""
     def __init__(self, txid):
         #: transaction unique id
@@ -321,7 +321,7 @@
         try:
             self.__threaddata.txdata = self._tx_data[txid]
         except KeyError:
-            self.__threaddata.txdata = self._tx_data[txid] = TransactionData(txid)
+            self.__threaddata.txdata = self._tx_data[txid] = Transaction(txid)
 
     @property
     def _threaddata(self):