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():
|
for kk, tt in saved_tools.items():
|
||||||
if tt is None:
|
if tt is None:
|
||||||
# delete if present
|
# delete if present
|
||||||
self.tools.pop(tt, None)
|
self.tools.pop(kk, None)
|
||||||
else:
|
else:
|
||||||
self.tools[kk] = tt
|
self.tools[kk] = tt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user