Fix formatting bug

This commit is contained in:
Markus Unterwaditzer 2015-11-05 15:42:28 +01:00
parent 2775dafffd
commit 4602df47aa

View file

@ -30,7 +30,7 @@ class CliError(RuntimeError):
RuntimeError.__init__(self, msg)
def __str__(self):
msg = self.msg.rstrip(u'.:')
msg = self.msg
li = u'\n - '
for problem in self.problems or ():
msg += u'{}{}'.format(li, problem)