Changeset a8f7ffe4d58e…
Parent ef4b29454656…
by Benjamin Pollack
Changes to one file · Browse files at a8f7ffe4d58e Showing diff from parent ef4b29454656 Diff from another changeset...
@@ -60,7 +60,7 @@ # Don't throw an exception within the error handler! Bad!
pass
-def _get_traceback(self, exc_info):
+def _get_traceback(exc_info):
"""Helper function to return the traceback as a string"""
import traceback
return '\n'.join(traceback.format_exception(*(exc_info or sys.exc_info())))
|
Loading...