summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Madden <jamadden@gmail.com>2020-03-31 05:26:40 -0500
committerJason Madden <jamadden@gmail.com>2020-03-31 05:26:40 -0500
commit3db6d45b1b86d190b5acf2ad8f737030490ef3a0 (patch)
tree2df2026baf53cd34f3c267a621f5397642a6557a
parent84bca93efac5ffe73f42c5a032e547abed0f826e (diff)
downloadzope-traversing-3db6d45b1b86d190b5acf2ad8f737030490ef3a0.tar.gz
The TODO has been resolved since existing skins are preserved after ++error++debug.
-rw-r--r--src/zope/traversing/namespace.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/zope/traversing/namespace.py b/src/zope/traversing/namespace.py
index d19fd60..72ec258 100644
--- a/src/zope/traversing/namespace.py
+++ b/src/zope/traversing/namespace.py
@@ -685,11 +685,9 @@ class debug(view):
elif flag == 'tal':
request.debug.showTAL = True
elif flag == 'errors':
- # TODO: I am not sure this is the best solution. What
- # if we want to enable tracebacks when also trying to
- # debug a different skin?
# Note that we don't use applySkin(), because it removes all existing
- # skins.
+ # skins. We may want to get tracebacks while trying to debug a
+ # different skin.
debug_skin = zope.component.getUtility(IBrowserSkinType, 'Debug')
alsoProvides(request, debug_skin)
else: