actually fix number of string format arguments
This commit is contained in:
parent
03ce743951
commit
a3027d3eea
|
@ -68,7 +68,7 @@ class Apt:
|
||||||
data = commands.getoutput(self.aptcommand % (distro, distro, distro, distro, 'search -n', pkg))
|
data = commands.getoutput(self.aptcommand % (distro, distro, distro, distro, 'search -n', pkg))
|
||||||
if not data:
|
if not data:
|
||||||
if filelookup:
|
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:
|
||||||
if data[0] == 'sh:': # apt-file isn't installed
|
if data[0] == 'sh:': # apt-file isn't installed
|
||||||
self.log.error("PackageInfo/packages: apt-file is not installed")
|
self.log.error("PackageInfo/packages: apt-file is not installed")
|
||||||
|
|
Loading…
Reference in New Issue