actually fix number of string format arguments

This commit is contained in:
tsimpson 2012-04-12 21:03:02 +01:00
parent 03ce743951
commit a3027d3eea

View File

@ -68,7 +68,7 @@ class Apt:
data = commands.getoutput(self.aptcommand % (distro, distro, distro, distro, 'search -n', pkg))
if not data:
if filelookup:
data = commands.getoutput(self.aptfilecommand % (distro, distro, distro, pkg)).split()
data = commands.getoutput(self.aptfilecommand % (distro, distro, pkg)).split()
if data:
if data[0] == 'sh:': # apt-file isn't installed
self.log.error("PackageInfo/packages: apt-file is not installed")