do not display columns with only None values

This commit is contained in:
Romain Bignon 2010-10-27 23:45:48 +02:00
commit 16b7b1d9be

View file

@ -50,7 +50,7 @@ class TableFormatter(IFormatter):
for i in xrange(len(self.keys)):
available = False
for line in self.queue:
if line[i] is not NotLoaded and line[i] is not NotAvailable:
if line[i] is not NotLoaded and line[i] is not NotAvailable and line[i] is not None:
available = True
break
if available: