Skip to content

Commit 5710bc1

Browse files
committed
mintinstall.py: Fix package listing command.
Some last minute changes to mintcommon didn't get adapted here.
1 parent 57d7417 commit 5710bc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

usr/lib/linuxmint/mintinstall/mintinstall.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,7 +1822,7 @@ def export_listing(self, flatpak_only=False):
18221822
self.installer.backend_table = {}
18231823

18241824
self.installer.initialize_appstream()
1825-
self.installer.generate_uncached_pkginfos(self.installer.cache)
1825+
self.installer.generate_uncached_pkginfos()
18261826

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

1839-
description = pkginfo.get_description(pkginfo)
1839+
description = self.installer.get_description(pkginfo)
18401840
description = description.replace("\r\n", "<br>")
18411841
description = description.replace("\n", "<br>")
18421842

1843-
summary = pkginfo.get_summary(pkginfo)
1843+
summary = pkginfo.get_summary()
18441844
url = ""
18451845
try:
18461846
url = self.installer.get_homepage_url(pkginfo)

0 commit comments

Comments
 (0)