Philipp Hörist pushed to branch master at gajim / gajim


Commits:
bb1acf65 by Philipp Hörist at 2026-02-28T19:50:27+01:00
fix: App: Don't print errors when checking for version

- - - - -


1 changed file:

- launch.py


Changes:

=====================================
launch.py
=====================================
@@ -12,7 +12,15 @@
 
     try:
         res = subprocess.check_output(
-            ["git", "-C", f"{Path(__file__).parent}", "rev-parse", 
"--short=12", "HEAD"]
+            [
+                "git",
+                "-C",
+                f"{Path(__file__).parent}",
+                "rev-parse",
+                "--short=12",
+                "HEAD",
+            ],
+            stderr=subprocess.DEVNULL,
         )
         gajim.__version__ += f"+{res.decode().strip()}"
     except Exception:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/bb1acf652b3e1fd876f10172f493749ed4396036

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/bb1acf652b3e1fd876f10172f493749ed4396036
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to