From 88bab9c60cbd59ed2b5d5b4be5293468fff4e5a3 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 10 Sep 2024 22:00:00 +0700 Subject: [PATCH] can't use these f-strings in this branch --- xpra/client/gtk3/gtk_client_window_base.py | 4 ++-- xpra/server/mixins/display.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xpra/client/gtk3/gtk_client_window_base.py b/xpra/client/gtk3/gtk_client_window_base.py index 7835830037..4f96df8cb9 100644 --- a/xpra/client/gtk3/gtk_client_window_base.py +++ b/xpra/client/gtk3/gtk_client_window_base.py @@ -2432,8 +2432,8 @@ def parse_key_event(self, event, pressed): if first_time(f"key-{keycode}-{keyname}"): keylog("parse_key_event(%s, %s)", event, pressed, exc_info=True) keylog.warn("Warning: failed to parse string for key") - keylog.warn(f" {keyname=}, {keycode=}") - keylog.warn(f" {keyval=}, group={event.group}") + keylog.warn(f" keyname=%s, keycode=%s", keyname, keycode) + keylog.warn(f" keyval=%s, group=%s", keyval, event.group) keylog.warn(" modifiers=%s", csv(key_event.modifiers)) keylog.warn(" %s", e) keylog.warn(f" unicode keyval also failed: {ve}") diff --git a/xpra/server/mixins/display.py b/xpra/server/mixins/display.py index 8bbe8e9595..be47faa4b9 100644 --- a/xpra/server/mixins/display.py +++ b/xpra/server/mixins/display.py @@ -86,7 +86,7 @@ def query_opengl(self) -> Dict[str,Any]: env = self.get_child_env() #we want the output so we can parse it: env["XPRA_REDIRECT_OUTPUT"] = "0" - gllog(f"query_opengl() using {cmd=}, {env=}") + gllog(f"query_opengl() using cmd=%s, env=%s", cmd, env) proc = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE, env=env) out,err = proc.communicate() gllog("out(%s)=%s", cmd, out)