Browse Source

Merge branch 'brosner/master'

Ask Solem 15 years ago
parent
commit
430d6d97ff
1 changed files with 2 additions and 2 deletions
  1. 2 2
      celery/datastructures.py

+ 2 - 2
celery/datastructures.py

@@ -68,10 +68,10 @@ class ExceptionInfo(object):
     def __init__(self, exc_info):
         type_, exception, tb = exc_info
         self.exception = exception
-        self.traceback = '\n'.join(traceback.format_exception(*exc_info))
+        self.traceback = ''.join(traceback.format_exception(*exc_info))
 
     def __str__(self):
-        return str(self.exception)
+        return self.traceback
 
     def __repr__(self):
         return "<%s.%s: %s>" % (