aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_resources.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-09-09 09:39:47 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-09-09 09:39:47 -0400
commitc689acd8690d72a8d59085abbac98a41896f43c0 (patch)
treed2d51e0b5f6589fbc61a82927d86d7d4df999d24 /pkg_resources.py
parent199a482b6127e3e896809cbb82486ef167985da0 (diff)
downloadexternal_python_setuptools-c689acd8690d72a8d59085abbac98a41896f43c0.tar.gz
external_python_setuptools-c689acd8690d72a8d59085abbac98a41896f43c0.tar.bz2
external_python_setuptools-c689acd8690d72a8d59085abbac98a41896f43c0.zip
Rename argument for consistency
--HG-- extra : amend_source : 006c17fc01743ef7f646bf54a166cbaeae92ab75
Diffstat (limited to 'pkg_resources.py')
-rw-r--r--pkg_resources.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg_resources.py b/pkg_resources.py
index 23ac1a36..08983919 100644
--- a/pkg_resources.py
+++ b/pkg_resources.py
@@ -2816,11 +2816,11 @@ def ensure_directory(path):
os.makedirs(dirname)
-def _bypass_ensure_directory(name, mode=0o777):
+def _bypass_ensure_directory(path, mode=0o777):
"""Sandbox-bypassing version of ensure_directory()"""
if not WRITE_SUPPORT:
raise IOError('"os.mkdir" not supported on this platform.')
- dirname, filename = split(name)
+ dirname, filename = split(path)
if dirname and filename and not isdir(dirname):
_bypass_ensure_directory(dirname)
mkdir(dirname, mode)