fixup! add the toolctx() context manager to simplify temporary retool() calls
This commit is contained in:
parent
adfaddc369
commit
572c32ad1b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user