commit | dbecd93b7203cd187c1978de1207c29d3a9a686c | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Feb 06 06:57:08 2005 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Feb 06 06:57:08 2005 +0000 |
tree | abb7331791de7b8e85208195e0c948a76cf77b67 | |
parent | 07ead1731850a9f1bd353b9330341309251099b6 [diff] [blame] |
Replace list of constants with tuples of constants.
diff --git a/Lib/cgitb.py b/Lib/cgitb.py index db46b25..735683e 100644 --- a/Lib/cgitb.py +++ b/Lib/cgitb.py
@@ -146,7 +146,7 @@ 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)