~tsimpson/ubuntu-bots/tweak

« back to all changes in this revision

Viewing changes to PackageInfo/packages.py

  • Committer: Terence Simpson
  • Date: 2009-11-25 16:33:07 UTC
  • Revision ID: tsimpson@ubuntu.com-20091125163307-319vx8ud0fp38mfu
Remove call to getUrl(), not implemented

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
                if maxp2['Architecture'] not in ('all','any'):
139
139
                    archs = ' (Only available for %s)' % maxp2['Architecture']
140
140
            maxp["Distrobution"] = distro
141
 
            return("%s (source: %s): %s. In component %s, is %s. Version %s (%s), package size %s kB, installed size %s kB%s%s" %
 
141
            return("%s (source: %s): %s. In component %s, is %s. Version %s (%s), package size %s kB, installed size %s kB%s" %
142
142
                   (maxp['Package'], maxp['Source'] or maxp['Package'], maxp['Description'].split('\n')[0], component(maxp['Section']),
143
 
                    maxp['Priority'], maxp['Version'], distro, int(maxp['Size'])/1024, maxp['Installed-Size'], archs, self.getUrl(maxp)))
 
143
                    maxp['Priority'], maxp['Version'], distro, int(maxp['Size'])/1024, maxp['Installed-Size'], archs))
144
144
        return 'Package %s does not exist in %s' % (pkg, checkdists)
145
145
                       
146
146
    @staticmethod