summaryrefslogtreecommitdiffstats
path: root/Lib/reprlib.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-11-05 19:58:28 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-11-05 19:58:28 (GMT)
commitdb1bad2d70a0c11f3540c172d341edc92ba68c30 (patch)
treeca14622b6ddb94498576919f99817781d23f0066 /Lib/reprlib.py
parent39a65915076bb9c3719813f9d079925d661cdbd5 (diff)
downloadcpython-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.py2
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='...'):