Fix pylint: E1123

This commit is contained in:
Dimitris Zlatanidis 2015-06-13 08:47:07 +03:00
parent 315ab9425e
commit ea16735ad9
3 changed files with 3 additions and 3 deletions

View file

@ -169,6 +169,6 @@ class QueuePkgs(object):
print("Package '{0}' not found in /tmp\n".format(pkg))
if pkg in find:
binary = "{0}{1}".format(self.meta.tmp, find)
PackageManager(binary.split(), flag="").install()
PackageManager(binary.split()).upgrade(flag="--install-new")
else:
print("\nPackages not found in the queue for installation\n")

View file

@ -341,5 +341,5 @@ class SBoInstall(object):
print("{0}[ Installing ] --> {1}{2}".format(
self.meta.color["GREEN"], self.meta.color["ENDC"], pkg))
installs.append(prgnam)
PackageManager(binary).upgrade("--install-new")
PackageManager(binary).upgrade(flag="--install-new")
return installs, upgraded

View file

@ -222,4 +222,4 @@ class SBoNetwork(object):
print("[ {0}Installing{1} ] --> {2}".format(_meta_.color["GREEN"],
_meta_.color["ENDC"],
self.name))
PackageManager(binary).upgrade("--install-new")
PackageManager(binary).upgrade(flag="--install-new")