Make sure the python campaign client list shows a space...

...between the headers if the size of the column is smaller than the
header (eg uploads).
This commit is contained in:
Mark de Wever 2008-01-19 14:20:34 +00:00
parent 324453e1aa
commit 8ee74b60d9
2 changed files with 3 additions and 1 deletions

View file

@ -19,6 +19,8 @@ Version 1.3.14+svn:
* converted NO_MAP_DATA to new map format
* fixed unchecked vector access
* added a more graceful handling of maps without a header (bug #10787)
* make sure the python campaign client list shows a space between the
headers if the size of the column is smaller than the header (eg uploads)
Version 1.3.14:
* campaigns:

View file

@ -135,7 +135,7 @@ if __name__ == "__main__":
campaign.debug(show_contents = True,
use_color = options.color)
else:
column_sizes = [4, 6, 7, 7, 9, 4, 9]
column_sizes = [5, 7, 8, 8, 10, 5, 10]
columns = [["name", "author", "version", "uploads", "downloads", "size", "timestamp"]]
for campaign in campaigns.get_all("campaign"):
column = [campaign.get_text_val("name", "?"),