blob: aac4de3394c926b84ba4d7220cb30b50ab1245e0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- ZODB/Transaction.py.orig Fri Dec 3 01:29:04 2004
+++ ZODB/Transaction.py Fri Dec 3 01:29:17 2004
@@ -351,9 +351,9 @@
else:
_t={}
- def get_transaction(_id=thread.get_ident, _t=_t, get=_t.get, None=None):
+ def get_transaction(_id=thread.get_ident, _t=_t, get=_t.get, _None=None):
id=_id()
- t=get(id, None)
+ t=get(id, _None)
if t is None: _t[id]=t=Transaction(id)
return t
|