no more need to print format result

This commit is contained in:
Christophe Benz 2010-05-15 04:56:59 +02:00
commit 0c425a2e9b
6 changed files with 12 additions and 18 deletions

View file

@ -154,9 +154,7 @@ class ConsoleApplication(BaseApplication):
# Process result
if isinstance(command_result, Results):
s = self.format(command_result)
if s:
print s
self.format(command_result)
return 0
elif isinstance(command_result, (str, unicode)):
print command_result