[server] rename TransactionData to Transaction
Transaction will become a full featured object.
--- 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):