commit | db1bad2d70a0c11f3540c172d341edc92ba68c30 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Fri Nov 05 19:58:28 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Fri Nov 05 19:58:28 2010 +0000 |
tree | ca14622b6ddb94498576919f99817781d23f0066 | |
parent | 39a65915076bb9c3719813f9d079925d661cdbd5 [diff] [blame] |
Fix bootstrap issues when building without threads
diff --git a/Lib/reprlib.py b/Lib/reprlib.py index c44c75c..7b5c436 100644 --- a/Lib/reprlib.py +++ b/Lib/reprlib.py
@@ -6,7 +6,7 @@ from itertools import islice try: from _thread import get_ident -except AttributeError: +except ImportError: from _dummy_thread import get_ident def recursive_repr(fillvalue='...'):