File fix-quotes-in-f-string-for-python-before-3.12.patch of Package uwsm
From 09187a89fd6d8e11f349553fad90a1b4b9d2ed3b Mon Sep 17 00:00:00 2001
From: Alex Kolos <lioli7k@gmail.com>
Date: Sun, 18 Jan 2026 22:50:05 +0300
Subject: [PATCH] fix: quotes in f-string for python before 3.12
Upstream: merged https://github.com/Vladimir-csp/uwsm/pull/201
Use of quotes inside f-strings before Python 3.12 had limitations.
---
uwsm/main.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/uwsm/main.py b/uwsm/main.py
index f6c3ec9..aaa3bde 100644
--- a/uwsm/main.py
+++ b/uwsm/main.py
@@ -3694,7 +3694,7 @@ def app(
final_args.extend(
["--property=Type=exec", "--property=ExitType=cgroup"]
+ [
- f"--setenv={var}={os.environ.get(var, "")}"
+ f"--setenv={var}={os.environ.get(var, '')}"
for var in sorted(Varnames.session_specific)
if os.environ.get(var, "")
]
--
2.52.0