Revert "tools: Executables attribute is redundant in the yaml file."

This reverts commit a5a7e24d4f.
This commit is contained in:
Andrew Hamilton 2018-04-20 18:18:48 +10:00
parent a5a7e24d4f
commit 45200a706f
6 changed files with 25 additions and 149 deletions

View file

@ -72,17 +72,6 @@ def even_widths(column_widgets, width):
return widths
def appearance_as_html(appearance):
lines = []
all_styles = set()
for line in appearance:
html, styles = termstr.TermStr(line).as_html()
all_styles.update(styles)
lines.append(html)
return ("\n".join(style.as_html() for style in all_styles) +
'\n<pre>' + "<br>".join(lines) + "</pre>")
class Row(collections.UserList):
def __init__(self, widgets, widths_func=even_widths):