mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Fixed for mnessage
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
1c260d961f
commit
e5b3419914
1 changed files with 3 additions and 4 deletions
|
@ -272,7 +272,6 @@ class View(Configs): # pylint: disable=[R0902]
|
|||
size_comp (int): Counts of compressed sizes.
|
||||
size_uncomp (int): Counts of uncompressed sizes.
|
||||
"""
|
||||
custom_message: str = ''
|
||||
upgrade_message: str = ''
|
||||
split_message: str = '\n'
|
||||
if self.columns > 80:
|
||||
|
@ -286,9 +285,9 @@ class View(Configs): # pylint: disable=[R0902]
|
|||
upgrade_message: str = (f'\n{self.red}{self.ascii.failed} Some versions failed, '
|
||||
f'check the /var/log/slpkg/upgrade.log file.{self.endc}')
|
||||
else:
|
||||
custom_message: str = (f'\n{self.grey}Note: Packages with custom versions may not '
|
||||
f'compare correctly.{self.endc}')
|
||||
self.summary_message: str = f'{total_packages}{split_message}{total_sizes}{custom_message}{upgrade_message}'
|
||||
upgrade_message: str = (f'\n{self.grey}Note: Packages with custom versions may not '
|
||||
f'compare correctly.{self.endc}')
|
||||
self.summary_message: str = f'{total_packages}{split_message}{total_sizes}{upgrade_message}'
|
||||
|
||||
def set_summary_for_remove(self, remove: int, size_rmv: int) -> None:
|
||||
"""Set summary for removes.
|
||||
|
|
Loading…
Reference in a new issue