diff options
author | Raymond Hettinger <python@rcn.com> | 2005-02-06 06:57:08 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2005-02-06 06:57:08 +0000 |
commit | 29fae41d6b2f7cf5392bc0c30c53a4a6ff7baeda (patch) | |
tree | 7481fe100ac27aff78cfb43b9952e463f2f4414f /Lib/cgitb.py | |
parent | d09b8a48901becbcbffad02973c6bcec10136149 (diff) | |
download | cpython-29fae41d6b2f7cf5392bc0c30c53a4a6ff7baeda.tar.gz |
Replace list of constants with tuples of constants.
Diffstat (limited to 'Lib/cgitb.py')
-rw-r--r-- | Lib/cgitb.py | 2 |
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) |