00:52.07 | *** join/#storm vvinet (~vince@modemcable121.135-59-74.mc.videotron.ca) |
00:52.32 | *** part/#storm vvinet (~vince@modemcable121.135-59-74.mc.videotron.ca) |
00:53.12 | *** join/#storm veloutin_ (~vvinet@nat/revolutionlinux/x-lvacoumwxdhffxrz) |
05:11.40 | *** join/#storm stub (~stub@canonical/launchpad/stub) |
10:42.26 | *** join/#storm keppla (~keppla@p4FD473C2.dip.t-dialin.net) |
10:48.13 | *** join/#storm keppla1 (~keppla@p4FD4744F.dip.t-dialin.net) |
13:09.41 | *** join/#storm keppla (~keppla@p4FD4614C.dip.t-dialin.net) |
15:12.42 | *** join/#storm RaceCondition (~erik@dsl48-249.uninet.ee) |
15:17.10 | RaceCondition | I'm using storm.twisted.transact from the current trunk (backported to the last stable) |
15:17.53 | RaceCondition | and I'd like to know what is the right way to check if there's a running transaction (which has been started by s.twisted.transact.Transactor.run) in the current thread? |
15:18.38 | RaceCondition | reason: I'd like to write a safety decorator @ensure_transaction that checks if there's an existing transaction, and optionally starts one if necessary |
15:19.20 | RaceCondition | as opposed to s.twisted.transact.transact which always creates one, thus complicating the writing of reusable logic that might be initiated on its own, or called from an existing transaction |
16:28.19 | *** join/#storm RaceCondition (~erik@dsl48-249.uninet.ee) |
16:55.51 | *** join/#storm RaceCondition (~erik@dsl48-249.uninet.ee) |
20:13.08 | *** join/#storm RaceCondition (~erik@82.131.17.107.cable.starman.ee) |
21:04.50 | *** join/#storm lifeless (~robertc@122.58.129.196) |