mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Fixed PEP E501
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
62f5e31671
commit
ab6030db70
1 changed files with 6 additions and 4 deletions
|
@ -139,11 +139,12 @@ class BinaryInstall(BlackList, Utils):
|
|||
print("\nInstalling summary")
|
||||
print("=" * 79)
|
||||
print(f"{self.grey}Total {sums[0]} {self.msg.pkg(sums[0])}.")
|
||||
print(f"{sums[3]} {self.msg.pkg(sums[3])} will be installed, {sums[2]} will be upgraded and "
|
||||
print(f"{sums[3]} {self.msg.pkg(sums[3])} will be installed, "
|
||||
f"{sums[2]} will be upgraded and "
|
||||
f"{sums[1]} will be reinstalled.")
|
||||
print(f"Need to get {size[0]} {unit[0]} of archives.")
|
||||
print(f"After this process, {size[1]} {unit[1]} of additional disk "
|
||||
f"space will be used.{self.endc}")
|
||||
print(f"After this process, {size[1]} {unit[1]} of additional "
|
||||
f"disk space will be used.{self.endc}")
|
||||
print()
|
||||
self.if_all_installed()
|
||||
if self.msg.answer() in ["y", "Y"]:
|
||||
|
@ -314,7 +315,8 @@ class BinaryInstall(BlackList, Utils):
|
|||
"""Print packages status bar
|
||||
"""
|
||||
self.msg.template(78)
|
||||
print(f"| Package{' ' * 17}New Version{' ' * 8}Arch{' ' * 4}Build{' ' * 2}Repos{' ' * 10}Size")
|
||||
print(f"| Package{' ' * 17}New Version{' ' * 8}Arch{' ' * 4}"
|
||||
f"Build{' ' * 2}Repos{' ' * 10}Size")
|
||||
self.msg.template(78)
|
||||
|
||||
def store(self, packages):
|
||||
|
|
Loading…
Reference in a new issue