Fixes failure reported by buildbot regarding ill-formatted Python code.
This commit is contained in:
Simon Farre 2023-06-19 17:03:32 +02:00
parent 28ab59607e
commit ce65796b17

View File

@ -18,6 +18,7 @@ import gdb
from .server import request
from .startup import send_gdb_with_response, in_gdb_thread
def _thread_name(thr):
if thr.name is not None:
return thr.name
@ -25,6 +26,7 @@ def _thread_name(thr):
return thr.details
return None
# A helper function to construct the list of threads.
@in_gdb_thread
def _get_threads():