PackageInfo: Fix 'find' output limitation.

This commit is contained in:
Krytarik Raido 2019-05-25 09:34:04 +02:00
parent 3e194ca516
commit 9bf38fa948
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ import supybot
import supybot.world as world
from imp import reload
__version__ = "1.4.0"
__version__ = "1.5.0"
__author__ = supybot.Author("Krytarik Raido", "krytarik", "krytarik@tuxgarage.com")
__contributors__ = {
supybot.Author("Dennis Kaarsemaker", "Seveas", "dennis@kaarsemaker.net"): ['Original Concept'],

View File

@ -107,7 +107,7 @@ class Apt:
if len(pkgs) > 10:
return "Found: %s and %d others <%s/search?keywords=%s&searchon=names&suite=%s&section=all>" % (', '.join(pkgs[:10]), len(pkgs)-10, pkgTracURL, utils.web.urlquote(pkg), distro)
else:
return "Found: %s" % ', '.join(pkgs[:5])
return "Found: %s" % ', '.join(pkgs)
def raw_info(self, pkg, distro, archlookup=True):
if distro not in self.distros: