add formatter command

This commit is contained in:
Christophe Benz 2010-09-23 20:44:25 +02:00 committed by Romain Bignon
commit 4f4897e0f2
4 changed files with 91 additions and 48 deletions

View file

@ -58,6 +58,7 @@ class TableFormatter(IFormatter):
return s
else:
print s.encode('utf-8')
self.queue = []
def format_dict(self, item):
# format is done in self.flush() by prettytable