summaryrefslogtreecommitdiff
path: root/Lib/cgitb.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2005-02-06 06:57:08 +0000
committerRaymond Hettinger <python@rcn.com>2005-02-06 06:57:08 +0000
commitdbecd93b7203cd187c1978de1207c29d3a9a686c (patch)
treeabb7331791de7b8e85208195e0c948a76cf77b67 /Lib/cgitb.py
parent07ead1731850a9f1bd353b9330341309251099b6 (diff)
downloadcpython-git-dbecd93b7203cd187c1978de1207c29d3a9a686c.tar.gz
Replace list of constants with tuples of constants.
Diffstat (limited to 'Lib/cgitb.py')
-rw-r--r--Lib/cgitb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgitb.py b/Lib/cgitb.py
index db46b25d60..735683e50c 100644
--- a/Lib/cgitb.py
+++ b/Lib/cgitb.py
@@ -146,7 +146,7 @@ function calls leading up to the error, in the order they occurred.</p>'''
if name in done: continue
done[name] = 1
if value is not __UNDEF__:
- if where in ['global', 'builtin']:
+ if where in ('global', 'builtin'):
name = ('<em>%s</em> ' % where) + strong(name)
elif where == 'local':
name = strong(name)