fix CallErrors constructor (refs #290)
This commit is contained in:
parent
478ce235ed
commit
7a51e53faa
1 changed files with 4 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ class CallErrors(Exception):
|
|||
Exception.__init__(self, u'These errors have been raised in backend threads:\n%s' % (
|
||||
u'\n'.join((u' * %s: %s%s' % (backend, error, backtrace + '\n'
|
||||
if logging.root.level == logging.DEBUG else ''))
|
||||
for backend, error, backtrace in self.errors)))
|
||||
for backend, error, backtrace in errors)))
|
||||
self.errors = copy(errors)
|
||||
|
||||
def __iter__(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue