Skip to content

Commit

Permalink
mintinstall.py: Fix package listing command.
Browse files Browse the repository at this point in the history
Some last minute changes to mintcommon didn't get adapted here.
  • Loading branch information
mtwebster committed Jan 26, 2025
1 parent 57d7417 commit 5710bc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions usr/lib/linuxmint/mintinstall/mintinstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -1822,7 +1822,7 @@ def export_listing(self, flatpak_only=False):
self.installer.backend_table = {}

self.installer.initialize_appstream()
self.installer.generate_uncached_pkginfos(self.installer.cache)
self.installer.generate_uncached_pkginfos()

self.add_categories()
self.process_matching_packages()
Expand All @@ -1836,11 +1836,11 @@ def export_listing(self, flatpak_only=False):
for pkg_hash in pkginfos.keys():
pkginfo = self.installer.cache[pkg_hash]

description = pkginfo.get_description(pkginfo)
description = self.installer.get_description(pkginfo)
description = description.replace("\r\n", "<br>")
description = description.replace("\n", "<br>")

summary = pkginfo.get_summary(pkginfo)
summary = pkginfo.get_summary()
url = ""
try:
url = self.installer.get_homepage_url(pkginfo)
Expand Down

0 comments on commit 5710bc1

Please sign in to comment.