diff --git a/lib/inputstreamhelper/utils.py b/lib/inputstreamhelper/utils.py index a7353050..dba2cbe9 100644 --- a/lib/inputstreamhelper/utils.py +++ b/lib/inputstreamhelper/utils.py @@ -360,8 +360,10 @@ def remove_tree(path): try: rmtree(compat_path(path)) + return True except FileNotFoundError as e: - log(4, f'Error removing tree: {e}') + log(4, f"Error removing tree: {e}") + return False def parse_version(vstring):