##// END OF EJS Templates
dirname in term title now fails more gracefully
vivainio -
Show More
@@ -28,8 +28,10 b' def set_term_title(title):'
28
28
29 global ignore_termtitle
29 global ignore_termtitle
30
30
31 if not ignore_termtitle:
31 if ignore_termtitle:
32 ret = os.system("title " + title)
32 return
33
34 ret = os.system("title " + title)
33 if ret:
35 if ret:
34 ignore_termtitle = 1
36 ignore_termtitle = 1
35
37
@@ -2,6 +2,7 b''
2
2
3 from StringIO import StringIO
3 from StringIO import StringIO
4 import sys
4 import sys
5 sys.path.append('..')
5
6
6 failures = []
7 failures = []
7 num_tests = 0
8 num_tests = 0
@@ -14,9 +14,9 b" Fairly quiet output by default. Pass in -v to get everyone's favorite dots."
14 # all of those out so that we can capture which one was called.
14 # all of those out so that we can capture which one was called.
15
15
16 import sys
16 import sys
17 sys.path.append('..')
17 import IPython
18 import IPython
18 import IPython.ipapi
19 import IPython.ipapi
19 import sys
20
20
21 verbose = False
21 verbose = False
22 if len(sys.argv) > 1:
22 if len(sys.argv) > 1:
General Comments 0
You need to be logged in to leave comments. Login now