From 37b5a82d3781c406bc080b5171b1e2882b9cd224 Mon Sep 17 00:00:00 2001 From: totaam Date: Mon, 25 Sep 2023 00:28:00 +0700 Subject: [PATCH] #3978 workaround for older versions of Cython --- xpra/net/protocol/socket_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xpra/net/protocol/socket_handler.py b/xpra/net/protocol/socket_handler.py index 9bcff997f2..367c49ff1b 100644 --- a/xpra/net/protocol/socket_handler.py +++ b/xpra/net/protocol/socket_handler.py @@ -477,7 +477,7 @@ def enable_default_encoder(self) -> None: def enable_encoder_from_caps(self, caps:typedict) -> bool: options = packet_encoding.get_enabled_encoders(order=packet_encoding.PERFORMANCE_ORDER) - log(f"enable_encoder_from_caps(..) {options=}") + log(f"enable_encoder_from_caps(..) options={options}") for e in options: if caps.boolget(e): self.enable_encoder(e) @@ -1080,7 +1080,7 @@ def debug_str(s): log(f"failed to parse {etype} packet: %s", hexstr(data[:128]), exc_info=True) data_str = memoryview_to_bytes(data) log(" data: %s", repr_ellipsized(data_str)) - log(f" {packet_index=}, {payload_size=}, buffer size={bl}") + log(f" packet_index={packet_index}, payload_size={payload_size}, buffer size={bl}") log(" full data: %s", hexstr(data_str)) self.gibberish(f"failed to parse {etype} packet", data) return