mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Unlink file instead of calling non-existent delete function
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
This commit is contained in:
+2
-2
@@ -1017,10 +1017,10 @@ def venv_resolve_deps(
|
||||
click_echo(c.out.strip(), err=True)
|
||||
click_echo(c.err.strip(), err=True)
|
||||
if os.path.exists(target_file.name):
|
||||
target_file.delete()
|
||||
os.unlink(target_file.name)
|
||||
raise RuntimeError("There was a problem with locking.")
|
||||
if os.path.exists(target_file.name):
|
||||
target_file.delete()
|
||||
os.unlink(target_file.name)
|
||||
if environments.is_verbose():
|
||||
#click_echo(results.split("RESULTS:")[1], err=True)
|
||||
click_echo(results, err=True)
|
||||
|
||||
Reference in New Issue
Block a user