outputs: restore default output of fetch/build/total times (#20394)

This commit is contained in:
Tamara Dahlgren
2020-12-15 01:46:30 -08:00
committed by GitHub
parent e7f4c2b49e
commit d67ca265a3

View File

@@ -1682,11 +1682,10 @@ def build_process(pkg, kwargs):
pkg._total_time = time.time() - start_time pkg._total_time = time.time() - start_time
build_time = pkg._total_time - pkg._fetch_time build_time = pkg._total_time - pkg._fetch_time
tty.debug('{0} Successfully installed {1}' tty.msg('{0} Successfully installed {1}'.format(pre, pkg_id),
.format(pre, pkg_id), 'Fetch: {0}. Build: {1}. Total: {2}.'
'Fetch: {0}. Build: {1}. Total: {2}.' .format(_hms(pkg._fetch_time), _hms(build_time),
.format(_hms(pkg._fetch_time), _hms(build_time), _hms(pkg._total_time)))
_hms(pkg._total_time)))
_print_installed_pkg(pkg.prefix) _print_installed_pkg(pkg.prefix)
# preserve verbosity across runs # preserve verbosity across runs