mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Fix pylint: E1123
This commit is contained in:
parent
315ab9425e
commit
ea16735ad9
3 changed files with 3 additions and 3 deletions
|
@ -169,6 +169,6 @@ class QueuePkgs(object):
|
||||||
print("Package '{0}' not found in /tmp\n".format(pkg))
|
print("Package '{0}' not found in /tmp\n".format(pkg))
|
||||||
if pkg in find:
|
if pkg in find:
|
||||||
binary = "{0}{1}".format(self.meta.tmp, find)
|
binary = "{0}{1}".format(self.meta.tmp, find)
|
||||||
PackageManager(binary.split(), flag="").install()
|
PackageManager(binary.split()).upgrade(flag="--install-new")
|
||||||
else:
|
else:
|
||||||
print("\nPackages not found in the queue for installation\n")
|
print("\nPackages not found in the queue for installation\n")
|
||||||
|
|
|
@ -341,5 +341,5 @@ class SBoInstall(object):
|
||||||
print("{0}[ Installing ] --> {1}{2}".format(
|
print("{0}[ Installing ] --> {1}{2}".format(
|
||||||
self.meta.color["GREEN"], self.meta.color["ENDC"], pkg))
|
self.meta.color["GREEN"], self.meta.color["ENDC"], pkg))
|
||||||
installs.append(prgnam)
|
installs.append(prgnam)
|
||||||
PackageManager(binary).upgrade("--install-new")
|
PackageManager(binary).upgrade(flag="--install-new")
|
||||||
return installs, upgraded
|
return installs, upgraded
|
||||||
|
|
|
@ -222,4 +222,4 @@ class SBoNetwork(object):
|
||||||
print("[ {0}Installing{1} ] --> {2}".format(_meta_.color["GREEN"],
|
print("[ {0}Installing{1} ] --> {2}".format(_meta_.color["GREEN"],
|
||||||
_meta_.color["ENDC"],
|
_meta_.color["ENDC"],
|
||||||
self.name))
|
self.name))
|
||||||
PackageManager(binary).upgrade("--install-new")
|
PackageManager(binary).upgrade(flag="--install-new")
|
||||||
|
|
Loading…
Reference in a new issue