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).
This commit is contained in:
Skip Montanaro 2004-06-07 11:20:40 +00:00
parent 1cdd3632a0
commit 1c0228a519
1 changed files with 1 additions and 2 deletions

View File

@ -211,8 +211,7 @@ function calls leading up to the error, in the order they occurred.
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')