scripts/gdb: fix PEP8 compliance
Signed-off-by: Thiébaud Weksteen <thiebaud@weksteen.fr> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
a2e73c4804
commit
6ad18b7331
@@ -151,6 +151,6 @@ def get_gdbserver_type():
|
||||
gdbserver_type = GDBSERVER_QEMU
|
||||
elif probe_kgdb():
|
||||
gdbserver_type = GDBSERVER_KGDB
|
||||
if not gdbserver_type is None and hasattr(gdb, 'events'):
|
||||
if gdbserver_type is not None and hasattr(gdb, 'events'):
|
||||
gdb.events.exited.connect(exit_handler)
|
||||
return gdbserver_type
|
||||
|
Reference in New Issue
Block a user