Another nit found by Neal Norwitz using pychecker.  This was caused by a
too-mechanical translation when converting html() to text() (simply stripped
strong() where it appeared).
diff --git a/Lib/cgitb.py b/Lib/cgitb.py
index 33541fb..f75a84c 100644
--- a/Lib/cgitb.py
+++ b/Lib/cgitb.py
@@ -211,8 +211,7 @@
             done[name] = 1
             if value is not __UNDEF__:
                 if where == 'global': name = 'global ' + name
-                elif where == 'local': name = name
-                else: name = where + name.split('.')[-1]
+                elif where != 'local': name = where + name.split('.')[-1]
                 dump.append('%s = %s' % (name, pydoc.text.repr(value)))
             else:
                 dump.append(name + ' undefined')