diff options
author | 2011-02-06 15:40:15 -0800 | |
---|---|---|
committer | 2011-02-06 15:40:15 -0800 | |
commit | 5d8d00d735d80308d3a2b973ee5de80dcb78c84e (patch) | |
tree | 881a849c60b8604c5536af74a7be428d5927c45d /overlord/cli.py | |
parent | new simplified message class (diff) | |
download | overlord-master.tar.gz overlord-master.tar.bz2 overlord-master.zip |
Diffstat (limited to 'overlord/cli.py')
-rw-r--r-- | overlord/cli.py | 3 |
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 |