diff --git a/pisi/operations/install.py b/pisi/operations/install.py index db1d2280..29973e2a 100644 --- a/pisi/operations/install.py +++ b/pisi/operations/install.py @@ -73,7 +73,7 @@ def install_pkg_names(A, reinstall = False): total_size, cached_size = operations.helper.calculate_download_sizes(order) total_size, symbol = util.human_readable_size(total_size) - ctx.ui.info(_('Total size of package(s): %.2f %s') % (total_size, symbol)) + ctx.ui.info(util.colorize(_('Total size of package(s): %.2f %s') % (total_size, symbol), "yellow")) if ctx.get_option('dry_run'): return True diff --git a/pisi/operations/upgrade.py b/pisi/operations/upgrade.py index 7415ab5b..a9d40948 100644 --- a/pisi/operations/upgrade.py +++ b/pisi/operations/upgrade.py @@ -139,7 +139,7 @@ def upgrade(A=[], repo=None): total_size, cached_size = operations.helper.calculate_download_sizes(order) total_size, symbol = util.human_readable_size(total_size) - ctx.ui.info(_('Total size of package(s): %.2f %s') % (total_size, symbol)) + ctx.ui.info(util.colorize(_('Total size of package(s): %.2f %s') % (total_size, symbol), "yellow")) if ctx.get_option('dry_run'): return