Fix some flake8 reports

This commit is contained in:
Tom Tromey
2023-11-22 21:16:00 -07:00
parent 233a39a424
commit 0c38b74cff
9 changed files with 23 additions and 50 deletions

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2015 Tom Tromey <tom@tromey.com>
# Copyright (C) 2015, 2023 Tom Tromey <tom@tromey.com>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -37,6 +37,7 @@ def _prompt_window(attr):
gui_prompt_substitutions["W"] = _prompt_window
# GDB's API should do this...
def substitute_prompt_with_window(prompt, window):
global _current_window_for_prompt