commit | 71431ef51ad30a37d6508ae3bb4370ca86eec9a1 | [log] [tgz] |
---|---|---|
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Tue Nov 09 07:35:26 2010 +0000 |
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Tue Nov 09 07:35:26 2010 +0000 |
tree | 3bf45375d07fe4d4e012f2fdbfbf2143eb8355d4 | |
parent | 80860381a5582daf34d895f154281deb921cf9ed [diff] [blame] |
Backport part of r86217: Fix issues when building without threads
diff --git a/Lib/collections.py b/Lib/collections.py index 9b14431..a49ecc7 100644 --- a/Lib/collections.py +++ b/Lib/collections.py
@@ -14,7 +14,7 @@ ifilter as _ifilter, imap as _imap try: from thread import get_ident -except AttributeError: +except ImportError: from dummy_thread import get_ident def _recursive_repr(user_function):