Katello/katello — pull request #676 by xsuchy (2012-09-17 08:57:33+00:00)
Title: handle exception when katello server is down

re.args[1] can be plain string.
addressing:
```
2012-09-17 04:51:16,773 [ERROR][MainThread] error() @ base.py:185 - Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/katello/client/cli/base.py", line 197, in main
ret_code = super(KatelloCLI, self).main(args, command_name, parent_usage)
File "/usr/lib/python2.6/site-packages/katello/client/core/base.py", line 298, in main
return subcommand.main(self.args[1:], self.args[0], self._get_usage_line(command_name, parent_usage))
File "/usr/lib/python2.6/site-packages/katello/client/core/base.py", line 393, in main
msg = ", ".join(re.args[1]["errors"])
TypeError: string indices must be integers
```