Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
2cd7f22e
Commit
2cd7f22e
authored
Jul 13, 2017
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly honor exist_ok. Ref #1083.
parent
04a306fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
CHANGES.rst
CHANGES.rst
+7
-0
pkg_resources/py31compat.py
pkg_resources/py31compat.py
+1
-1
No files found.
CHANGES.rst
View file @
2cd7f22e
v36
.1.1
-------
*
#
1083
:
Correct
``
py31compat
.
makedirs
``
to
correctly
honor
``
exist_ok
``
parameter
.
*
#
1083
:
Also
use
makedirs
compatibility
throughout
setuptools
.
v36
.1.0
-------
...
...
pkg_resources/py31compat.py
View file @
2cd7f22e
...
...
@@ -10,7 +10,7 @@ def _makedirs_31(path, exist_ok=False):
try
:
os
.
makedirs
(
path
)
except
OSError
as
exc
:
if
exc
.
errno
!=
errno
.
EEXIST
:
if
not
exist_ok
or
exc
.
errno
!=
errno
.
EEXIST
:
raise
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment