From 07ef24464826d2dbeb917fdfa7786c0a3e780faf Mon Sep 17 00:00:00 2001 From: Terence Simpson Date: Wed, 25 Nov 2009 16:33:07 +0000 Subject: [PATCH] Remove call to getUrl(), not implemented --- PackageInfo/packages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PackageInfo/packages.py b/PackageInfo/packages.py index 80de21e..d244a4e 100644 --- a/PackageInfo/packages.py +++ b/PackageInfo/packages.py @@ -138,9 +138,9 @@ class Apt: if maxp2['Architecture'] not in ('all','any'): archs = ' (Only available for %s)' % maxp2['Architecture'] maxp["Distrobution"] = distro - return("%s (source: %s): %s. In component %s, is %s. Version %s (%s), package size %s kB, installed size %s kB%s%s" % + return("%s (source: %s): %s. In component %s, is %s. Version %s (%s), package size %s kB, installed size %s kB%s" % (maxp['Package'], maxp['Source'] or maxp['Package'], maxp['Description'].split('\n')[0], component(maxp['Section']), - maxp['Priority'], maxp['Version'], distro, int(maxp['Size'])/1024, maxp['Installed-Size'], archs, self.getUrl(maxp))) + maxp['Priority'], maxp['Version'], distro, int(maxp['Size'])/1024, maxp['Installed-Size'], archs)) return 'Package %s does not exist in %s' % (pkg, checkdists) @staticmethod