mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +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))
|
||||
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")
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue