Added file size in the removed packages

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2019-01-15 19:41:16 +01:00
parent 4d799655b7
commit c365beef5c
2 changed files with 4 additions and 2 deletions

View file

@ -7,6 +7,7 @@ Added:
- Support elilo and grub upgrade boot loader after kernel upgrade
- View third party packages
- Remove third party packages
- Added file size in the removed packages
3.3.8 - 09/06/2018
Fixed:

View file

@ -214,9 +214,10 @@ class PackageManager(object):
self.meta.default_answer = "y"
else:
for rmv, pkg in zip(removed, packages):
print("[ {0}delete{1} ] --> {2}".format(
self.meta.color["RED"], self.meta.color["ENDC"], pkg))
self._sizes(pkg)
print("[ {0}delete{1} ] --> [ {2} ] - {3}".format(
self.meta.color["RED"], self.meta.color["ENDC"],
self.file_size, pkg))
self._calc_sizes()
self._remove_summary()
if "--third-party" in self.extra: