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