PackageInfo: Fix 'find' output limitation.
This commit is contained in:
@ -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'],
|
||||
|
@ -107,7 +107,7 @@ class Apt:
|
||||
if len(pkgs) > 10:
|
||||
return "Found: %s and %d others <%s/search?keywords=%s&searchon=names&suite=%s§ion=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:
|
||||
|
Reference in New Issue
Block a user