Skip to content

Commit

Permalink
Change the delimeters to prevent possible tracebacks on some packages…
Browse files Browse the repository at this point in the history
… with dpkg_lowpkg

* Use another separator on query to dpkg-query

* Fix the test test_dpkg_lowpkg::test_info

BACKPORT-UPSTREAM=saltstack#62519
  • Loading branch information
Victor Zhestkov authored and agraul committed Jan 27, 2025
1 parent 9b00bf6 commit 685a12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/modules/dpkg_lowpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 685a12f

Please sign in to comment.