diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-05 19:58:28 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-05 19:58:28 (GMT) |
commit | db1bad2d70a0c11f3540c172d341edc92ba68c30 (patch) | |
tree | ca14622b6ddb94498576919f99817781d23f0066 /Lib/reprlib.py | |
parent | 39a65915076bb9c3719813f9d079925d661cdbd5 (diff) | |
download | cpython-db1bad2d70a0c11f3540c172d341edc92ba68c30.zip cpython-db1bad2d70a0c11f3540c172d341edc92ba68c30.tar.gz cpython-db1bad2d70a0c11f3540c172d341edc92ba68c30.tar.bz2 |
Fix bootstrap issues when building without threads
Diffstat (limited to 'Lib/reprlib.py')
-rw-r--r-- | Lib/reprlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ import builtins from itertools import islice try: from _thread import get_ident -except AttributeError: +except ImportError: from _dummy_thread import get_ident def recursive_repr(fillvalue='...'): |