fixup! add the toolctx() context manager to simplify temporary retool() calls

This commit is contained in:
jan 2024-10-13 12:53:10 -07:00
parent 04f5eb23cc
commit 7b9f9f4012

View File

@ -309,7 +309,7 @@ class Pather(Builder):
for kk, tt in saved_tools.items():
if tt is None:
# delete if present
self.tools.pop(tt, None)
self.tools.pop(kk, None)
else:
self.tools[kk] = tt