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:
d75f3a1
)
Remove a couple of debug messages.
master
author
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 27 Sep 2024 03:59:35 +0000
(
05:59
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 27 Sep 2024 03:59:43 +0000
(
05:59
+0200)
wrw/session.py
patch
|
blob
|
blame
|
history
diff --git
a/wrw/session.py
b/wrw/session.py
index
1504d82
..
08120cb
100644
(file)
--- a/
wrw/session.py
+++ b/
wrw/session.py
@@
-79,7
+79,6
@@
class session(object):
return ret
def __setstate__(self, st):
return ret
def __setstate__(self, st):
- print(st)
if isinstance(st, list):
# Only for the old session format; remove me in due time.
for k, v in st:
if isinstance(st, list):
# Only for the old session format; remove me in due time.
for k, v in st:
@@
-93,8
+92,7
@@
class session(object):
for item in st["data"]:
try:
k, v = itemunpickler(io.BytesIO(item), session=self).load()
for item in st["data"]:
try:
k, v = itemunpickler(io.BytesIO(item), session=self).load()
- except Exception as exc:
- print(exc)
+ except Exception:
continue
self.dict[k] = v
if hasattr(v, "sessdirty"):
continue
self.dict[k] = v
if hasattr(v, "sessdirty"):