34c4e47c9b
- Allow NamedLoaderContexts to be returned from loader - Revert the change making reactor less blocking (bsc#1230322) - Use --cachedir for extension_modules in salt-call (bsc#1226141) - Prevent using SyncWrapper with no reason - Added: * avoid-explicit-reading-of-etc-salt-minion-bsc-122035.patch * allow-namedloadercontexts-to-be-returned-from-loader.patch * revert-the-change-making-reactor-less-blocking-bsc-1.patch * use-cachedir-for-extension_modules-in-salt-call-bsc-.patch * prevent-using-syncwrapper-with-no-reason.patch OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=259
31 lines
977 B
Diff
31 lines
977 B
Diff
From b7a554e2dec3351c91c237497fe37cbc30d664bd Mon Sep 17 00:00:00 2001
|
|
From: Victor Zhestkov <Victor.Zhestkov@suse.com>
|
|
Date: Thu, 1 Sep 2022 14:42:24 +0300
|
|
Subject: [PATCH] Change the delimeters to prevent possible tracebacks on
|
|
some packages with dpkg_lowpkg
|
|
|
|
* Use another separator on query to dpkg-query
|
|
|
|
* Fix the test test_dpkg_lowpkg::test_info
|
|
---
|
|
salt/modules/dpkg_lowpkg.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/salt/modules/dpkg_lowpkg.py b/salt/modules/dpkg_lowpkg.py
|
|
index 4d716c8772..78990492cf 100644
|
|
--- a/salt/modules/dpkg_lowpkg.py
|
|
+++ b/salt/modules/dpkg_lowpkg.py
|
|
@@ -347,7 +347,7 @@ def _get_pkg_info(*packages, **kwargs):
|
|
if build_date:
|
|
pkg_data["build_date"] = build_date
|
|
pkg_data["build_date_time_t"] = build_date_t
|
|
- pkg_data["description"] = pkg_descr.split(":", 1)[-1]
|
|
+ pkg_data["description"] = pkg_descr
|
|
ret.append(pkg_data)
|
|
|
|
return ret
|
|
--
|
|
2.39.2
|
|
|
|
|