mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Autotest: fixes bisect-helper for python 3.10
This commit is contained in:
parent
91afa19543
commit
be9e0aefd8
@ -65,7 +65,7 @@ import traceback
|
|||||||
def get_exception_stacktrace(e):
|
def get_exception_stacktrace(e):
|
||||||
if sys.version_info[0] >= 3:
|
if sys.version_info[0] >= 3:
|
||||||
ret = "%s\n" % e
|
ret = "%s\n" % e
|
||||||
ret += ''.join(traceback.format_exception(etype=type(e),
|
ret += ''.join(traceback.format_exception(type(e),
|
||||||
value=e,
|
value=e,
|
||||||
tb=e.__traceback__))
|
tb=e.__traceback__))
|
||||||
return ret
|
return ret
|
||||||
|
Loading…
Reference in New Issue
Block a user