mirror of https://github.com/buildinspace/peru.git
Remove a now-unnecessary "if os.path.exists()"
This commit is contained in:
parent
b7b82578be
commit
68350691b6
|
@ -358,7 +358,6 @@ class _Cache:
|
||||||
tree = tree or (yield from self.get_empty_tree())
|
tree = tree or (yield from self.get_empty_tree())
|
||||||
previous_tree = previous_tree or (yield from self.get_empty_tree())
|
previous_tree = previous_tree or (yield from self.get_empty_tree())
|
||||||
|
|
||||||
if not os.path.exists(dest):
|
|
||||||
makedirs(dest)
|
makedirs(dest)
|
||||||
|
|
||||||
with contextlib.ExitStack() as stack:
|
with contextlib.ExitStack() as stack:
|
||||||
|
|
Loading…
Reference in New Issue