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