aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <brian.dolbec@gmail.com>2011-02-06 15:40:15 -0800
committerBrian Dolbec <brian.dolbec@gmail.com>2011-02-06 15:40:15 -0800
commit5d8d00d735d80308d3a2b973ee5de80dcb78c84e (patch)
tree881a849c60b8604c5536af74a7be428d5927c45d /overlord/cli.py
parentnew simplified message class (diff)
downloadoverlord-master.tar.gz
overlord-master.tar.bz2
overlord-master.zip
use the new message class and fix the error recording and outputHEADmaster
Diffstat (limited to 'overlord/cli.py')
-rw-r--r--overlord/cli.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/overlord/cli.py b/overlord/cli.py
index 501dd65..0953de1 100644
--- a/overlord/cli.py
+++ b/overlord/cli.py
@@ -171,7 +171,8 @@ class Main(object):
try:
result += getattr(self, action[1])()
except Exception, error:
- self.output.error(self.api.get_errors())
+ for _error in self.api.get_errors():
+ self.output.error(_error)
result = -1 # So it cannot remain 0, i.e. success
break