Humbug errors: Remove unnecessary newlines in tracebacks.

(imported from commit ad5834fa32e13ede1c634e4e9e535d84eb833c95)
This commit is contained in:
Tim Abbott 2012-12-11 15:00:04 -05:00
parent 8d5d45f3a0
commit 25d95e25c8
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class AdminHumbugHandler(logging.Handler):
subject = self.format_subject(subject)
if record.exc_info:
stack_trace = '\n'.join(traceback.format_exception(*record.exc_info))
stack_trace = ''.join(traceback.format_exception(*record.exc_info))
else:
stack_trace = 'No stack trace available'