You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
875 B
26 lines
875 B
8 months ago
|
From f009f0e954df27d04b885bd8c41993070cb09984 Mon Sep 17 00:00:00 2001
|
||
|
From: tigro <tigro@msvsphere-os.ru>
|
||
|
Date: Mon, 22 Apr 2024 12:54:01 +0300
|
||
|
Subject: [PATCH] Use localized variable MSVSPHERE_PRETTY_NAME
|
||
|
|
||
|
---
|
||
|
initial_setup/product.py | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/initial_setup/product.py b/initial_setup/product.py
|
||
|
index d19b5f5..5a1fb06 100644
|
||
|
--- a/initial_setup/product.py
|
||
|
+++ b/initial_setup/product.py
|
||
|
@@ -26,7 +26,7 @@ def product_title():
|
||
|
(key, _eq, value) = line.strip().partition("=")
|
||
|
if not key or not _eq or not value:
|
||
|
continue
|
||
|
- if key == "PRETTY_NAME":
|
||
|
+ if key == "MSVSPHERE_PRETTY_NAME":
|
||
|
return value.strip('"')
|
||
|
except IOError:
|
||
|
log.exception("failed to check the release string file")
|
||
|
--
|
||
|
2.44.0
|
||
|
|