Address comments on previous commit
This commit is contained in:
@@ -111,7 +111,7 @@ class InplaceBackup:
|
||||
"""Just delete whatever is specified by `path`"""
|
||||
if path.is_file():
|
||||
path.unlink()
|
||||
elif path.is_dir():
|
||||
else:
|
||||
shutil.rmtree(str(path))
|
||||
|
||||
|
||||
@@ -285,9 +285,7 @@ def download_and_install(pipe_to_blender, package_url: str, install_path: pathli
|
||||
_install(pipe_to_blender, downloaded, install_path, search_paths)
|
||||
pipe_to_blender.send(Success())
|
||||
except InstallException as err:
|
||||
log.debug("InstallException thrown")
|
||||
except:
|
||||
raise
|
||||
log.error("InstallException thrown")
|
||||
|
||||
|
||||
def debug_hang():
|
||||
|
Reference in New Issue
Block a user