From: Fredrik Tolf Date: Fri, 27 Sep 2024 03:59:35 +0000 (+0200) Subject: Remove a couple of debug messages. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=HEAD;p=wrw.git Remove a couple of debug messages. --- diff --git a/wrw/session.py b/wrw/session.py index 1504d82..08120cb 100644 --- a/wrw/session.py +++ b/wrw/session.py @@ -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"):