aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/py31compat.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/py31compat.py')
-rw-r--r--setuptools/py31compat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/py31compat.py b/setuptools/py31compat.py
index 1a0705ec..e1da7ee2 100644
--- a/setuptools/py31compat.py
+++ b/setuptools/py31compat.py
@@ -17,9 +17,9 @@ except ImportError:
errors on deletion.
"""
- def __init__(self):
+ def __init__(self, **kwargs):
self.name = None # Handle mkdtemp raising an exception
- self.name = tempfile.mkdtemp()
+ self.name = tempfile.mkdtemp(**kwargs)
def __enter__(self):
return self.name