##// END OF EJS Templates
Remove try/except import for Py2 compat
Matthias Bussonnier -
Show More
@@ -153,10 +153,7 b' class Tracer(object):'
153 153 # at least raise that limit to 80 chars, which should be enough for
154 154 # most interactive uses.
155 155 try:
156 try:
157 from reprlib import aRepr # Py 3
158 except ImportError:
159 from repr import aRepr # Py 2
156 from reprlib import aRepr
160 157 aRepr.maxstring = 80
161 158 except:
162 159 # This is only a user-facing convenience, so any error we encounter
General Comments 0
You need to be logged in to leave comments. Login now