Remove a couple of debug messages. master
authorFredrik Tolf <fredrik@dolda2000.com>
Fri, 27 Sep 2024 03:59:35 +0000 (05:59 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Fri, 27 Sep 2024 03:59:43 +0000 (05:59 +0200)
wrw/session.py

index 1504d82..08120cb 100644 (file)
@@ -79,7 +79,6 @@ class session(object):
         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:
@@ -93,8 +92,7 @@ class session(object):
             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"):