author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
Fri, 22 Mar 2013 19:51:50 +0100 | |
changeset 8775 | 3d932eec0bda |
parent 8774 | 608fdcab6fa1 |
child 8776 | cdb261bd36ac |
server/session.py | file | annotate | diff | comparison | revisions |
--- a/server/session.py Fri Mar 22 19:49:57 2013 +0100 +++ b/server/session.py Fri Mar 22 19:51:50 2013 +0100 @@ -395,6 +395,9 @@ unicode(self.user.login), self.id, id(self)) def set_tx(self, txid=None): + """set the default transaction of the current thread to <txid> + + Transaction is created if necessary""" if txid is None: txid = threading.currentThread().getName() try: