summaryrefslogtreecommitdiff
path: root/Lib/tempfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/tempfile.py')
-rw-r--r--Lib/tempfile.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index 83dfa171db..dd7e8643e6 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -327,10 +327,6 @@ def mkdtemp(suffix="", prefix=template, dir=None):
try:
_os.mkdir(file, 0700)
return file
- except WindowsError, e:
- if e.errno == 183: # ERROR_ALREADY_EXISTS
- continue # try again
- raise
except OSError, e:
if e.errno == _errno.EEXIST:
continue # try again