From 9b2a10954037b30851322fac794ce098118f4f42 Mon Sep 17 00:00:00 2001 From: Collin Winter Date: Thu, 8 Mar 2007 22:16:25 +0000 Subject: Patch #1668482: don't use '-' in mkstemp --- Lib/tempfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/tempfile.py b/Lib/tempfile.py index 2e8cd6d..7809552 100644 --- a/Lib/tempfile.py +++ b/Lib/tempfile.py @@ -114,7 +114,7 @@ class _RandomNameSequence: characters = ("abcdefghijklmnopqrstuvwxyz" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + - "0123456789-_") + "0123456789_") def __init__(self): self.mutex = _allocate_lock() -- cgit v0.12