qubes/tools: fix 'column' input formating

Include '\n' at the last line too. Otherwise the tool (depending on
version) will complain about truncated line ('line too long').
This commit is contained in:
Marek Marczykowski-Górecki 2016-09-13 01:22:24 +02:00
parent bb78eb1ce6
commit 141128e768
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -524,6 +524,7 @@ def print_table(table):
unit_separator = chr(31)
cmd = ['column', '-t', '-s', unit_separator]
text_table = '\n'.join([unit_separator.join(row) for row in table])
text_table += '\n'
# for tests...
if sys.stdout != sys.__stdout__: