Skip to content

Commit

Permalink
can't use these f-strings in this branch
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Sep 10, 2024
1 parent 9e4c894 commit 88bab9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions xpra/client/gtk3/gtk_client_window_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down
2 changes: 1 addition & 1 deletion xpra/server/mixins/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 88bab9c

Please sign in to comment.