Address comments on previous commit

This commit is contained in:
Ellwood Zwovic
2017-07-13 11:16:31 -07:00
parent 915c38c326
commit 058b5a802f

View File

@@ -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():