commit:     058b44e6762e539fb3f6879018f77ac38d4190b5
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 22 17:35:54 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Dec 25 08:38:45 2025 +0000
URL:        https://gitweb.gentoo.org/proj/webapp-config.git/commit/?id=058b44e6

Fix for Python 3.13+ PEP 667

This error prevents running with --debug.
Cannot delete that key.

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 WebappConfig/debug.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/WebappConfig/debug.py b/WebappConfig/debug.py
index d2e4e96..3853c78 100644
--- a/WebappConfig/debug.py
+++ b/WebappConfig/debug.py
@@ -395,7 +395,6 @@ class Message:
         ## Is the caller an obejct? If so he provides 'self'
         if 'self' in list(callerlocals.keys()):
             callerobject = callerlocals['self']
-            del callerlocals['self']
             if self.show_class_variables:
                 cv = inspect.getmembers(callerobject,
                                         lambda x: not inspect.ismethod(x))

Reply via email to