commit | 2306e6049bc1362bab69b472b6653203e372464b | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sun Feb 10 19:29:17 2013 +0100 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sun Feb 10 19:29:17 2013 +0100 |
tree | 3b2101697d81c51e0a14588848c63e2b9d22c315 | |
parent | 06e5e730dd802d4560880e1a2ed69d2bbca6be2f [diff] [blame] |
Issue #17165: fix a bare import in _strptime.py. Patch by Berker Peksag.
diff --git a/Lib/_strptime.py b/Lib/_strptime.py index b0cd3d6..3ecfc2a 100644 --- a/Lib/_strptime.py +++ b/Lib/_strptime.py
@@ -21,7 +21,7 @@ timezone as datetime_timezone) try: from _thread import allocate_lock as _thread_allocate_lock -except: +except ImportError: from _dummy_thread import allocate_lock as _thread_allocate_lock __all__ = []