fixup! add the toolctx() context manager to simplify temporary retool() calls
This commit is contained in:
parent
04f5eb23cc
commit
7b9f9f4012
@ -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