diff Lib/reprlib.py @ 65987:385d239bcbfa

Fix bootstrap issues when building without threads
author Antoine Pitrou <solipsis@pitrou.net>
date Fri, 05 Nov 2010 19:58:28 +0000
parents cfaf0f7ee0c2
children b8c0ca35979a
line wrap: on
line diff
--- a/Lib/reprlib.py	Fri Nov 05 19:47:27 2010 +0000
+++ b/Lib/reprlib.py	Fri Nov 05 19:58:28 2010 +0000
@@ -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='...'):