Commit 6979c310 authored by Jérome Perrin's avatar Jérome Perrin

fixup! Introduce an InstallMonitor

installed_part_options contains options for all parts, so it can be very
long and cause OSError 7 . Just include options for the part being
uninstalled.
parent 92a1ac67
......@@ -160,12 +160,13 @@ class GitInstallMonitor(object):
def end_uninstall_part(self, name, installed_part_options):
took = time.time() - self._start_install_time[name]
this_installed_part_options = installed_part_options.get(name)
self._record_changes(
textwrap.dedent("""\
Uninstalled part {name} in {took:.2f} seconds
Installed part options:
{installed_part_options}
{this_installed_part_options}
""").format(**locals()))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment