public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] [gdb] Re-format dap/startup.py with black
@ 2024-02-12 20:45 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2024-02-12 20:45 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e25a613437218e60854241e95e8028343a983d92

commit e25a613437218e60854241e95e8028343a983d92
Author: Tom de Vries <tdevries@suse.de>
Date:   Mon Feb 12 21:45:25 2024 +0100

    [gdb] Re-format dap/startup.py with black
    
    Commit 433ae2c2458 ("[gdb/dap] Catch and log exceptions in dap threads") made
    some changes to gdb/python/lib/gdb/dap/startup.py.
    
    Re-format it with black.

Diff:
---
 gdb/python/lib/gdb/dap/startup.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gdb/python/lib/gdb/dap/startup.py b/gdb/python/lib/gdb/dap/startup.py
index f3b4e35ce2f..daaeb28e997 100644
--- a/gdb/python/lib/gdb/dap/startup.py
+++ b/gdb/python/lib/gdb/dap/startup.py
@@ -78,10 +78,10 @@ def start_thread(name, target, args=()):
             # Log when a thread terminates.
             log(thread_name + ": terminating")
 
-    result = gdb.Thread(name=name, target=thread_wrapper, args=args,
-                        daemon=True)
+    result = gdb.Thread(name=name, target=thread_wrapper, args=args, daemon=True)
     result.start()
 
+
 def start_dap(target):
     """Start the DAP thread and invoke TARGET there."""
     exec_and_log("set breakpoint pending on")

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-12 20:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-12 20:45 [binutils-gdb] [gdb] Re-format dap/startup.py with black Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).