Skip to content

Commit

Permalink
Fix for pypa#6426
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisOrca committed Apr 23, 2019
1 parent dddd28b commit b766a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def ensure_dir(path):
try:
os.makedirs(path)
except OSError as e:
if e.errno != errno.EEXIST:
if e.errno != errno.EEXIST and e.errno != errno.ENOTEMPTY:
raise


Expand Down

0 comments on commit b766a05

Please sign in to comment.