##// END OF EJS Templates
fix nicer ImportError message on Python 3...
MinRK -
Show More
@@ -12,7 +12,7 b' except ImportError as e:'
12
12
13 Please install it first.
13 Please install it first.
14 """
14 """
15 raise ImportError(e.message + verbose_msg)
15 raise ImportError(str(e) + verbose_msg)
16
16
17 try:
17 try:
18 import jsonpointer as jsonpointer
18 import jsonpointer as jsonpointer
@@ -23,7 +23,7 b' except ImportError as e:'
23
23
24 Please install it first.
24 Please install it first.
25 """
25 """
26 raise ImportError(e.message + verbose_msg)
26 raise ImportError(str(e) + verbose_msg)
27
27
28 from IPython.utils.py3compat import iteritems
28 from IPython.utils.py3compat import iteritems
29
29
General Comments 0
You need to be logged in to leave comments. Login now