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:
8f911ff
)
Always use the latest pickle protocol when freezing sessions.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 30 Dec 2011 03:24:11 +0000
(
04:24
+0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 30 Dec 2011 03:24:11 +0000
(
04:24
+0100)
wrw/session.py
patch
|
blob
|
blame
|
history
diff --git
a/wrw/session.py
b/wrw/session.py
index
28c1577
..
c45090a
100644
(file)
--- a/
wrw/session.py
+++ b/
wrw/session.py
@@
-166,7
+166,7
@@
class backeddb(db):
raise KeyError()
def freeze(self, sess):
- self.backdb[sess.id] = pickle.dumps(sess)
+ self.backdb[sess.id] = pickle.dumps(sess
, -1
)
sess.frozen()
class dirback(object):