Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/inputstreamhelper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,8 @@ def hardlink(src, dest):
def remove_tree(path):
"""Remove an entire directory tree"""
from shutil import rmtree
rmtree(compat_path(path))
if exists(path):
rmtree(compat_path(path))


def parse_version(vstring):
Expand Down
Loading