Dolda2000 GitWeb
/
wrw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5156eb
)
Pass the current session to sessiondata constructor.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 24 May 2012 03:32:24 +0000
(
05:32
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 24 May 2012 03:32:24 +0000
(
05:32
+0200)
wrw/util.py
patch
|
blob
|
blame
|
history
diff --git
a/wrw/util.py
b/wrw/util.py
index
6170c9e
..
c2af5aa
100644
(file)
--- a/
wrw/util.py
+++ b/
wrw/util.py
@@
-44,7
+44,7
@@
class sessiondata(object):
except KeyError:
if not create:
return None
- ret = cls(req)
+ ret = cls(req
, sess
)
sess[cls] = ret
return ret