diff -r 1d65b235549f -r bb2080547722 server/session.py --- a/server/session.py Fri Feb 18 15:26:00 2011 +0100 +++ b/server/session.py Tue Mar 08 18:32:19 2011 +0100 @@ -854,6 +854,10 @@ del self.__threaddata del self._tx_data + @property + def closed(self): + return not hasattr(self, '_tx_data') + # transaction data/operations management ################################## @property