NarrativeWeb: Fixed inline usage in dump_attribute().

svn: r15620
This commit is contained in:
Rob G. Healey 2010-07-05 09:26:08 +00:00
parent 0e06a98523
commit 16f95e157c

View File

@ -405,7 +405,7 @@ class BasePage(object):
# display attribute list
trow.extend(
Html("td", data or " ", class_ = "Column" + colclass,
inline = (colclass == "Type" or "Sources"))
inline = True if (colclass == "Type" or "Sources") else False)
for (colclass, data) in [
["Type", str(attr.get_type()) ],
["Value", attr.get_value() ],