Show More
@@ -1,7 +1,7 b'' | |||
|
1 | 1 | # -*- coding: utf-8 -*- |
|
2 | 2 | """Release data for the IPython project. |
|
3 | 3 | |
|
4 |
$Id: Release.py 9 |
|
|
4 | $Id: Release.py 992 2006-01-04 18:35:40Z fperez $""" | |
|
5 | 5 | |
|
6 | 6 | #***************************************************************************** |
|
7 | 7 | # Copyright (C) 2001-2005 Fernando Perez <fperez@colorado.edu> |
@@ -22,9 +22,9 b" name = 'ipython'" | |||
|
22 | 22 | # because bdist_rpm does not accept dashes (an RPM) convention, and |
|
23 | 23 | # bdist_deb does not accept underscores (a Debian convention). |
|
24 | 24 | |
|
25 |
version = '0.7.0.rc |
|
|
25 | version = '0.7.0.rc8' | |
|
26 | 26 | |
|
27 |
revision = '$Revision: 9 |
|
|
27 | revision = '$Revision: 992 $' | |
|
28 | 28 | |
|
29 | 29 | description = "An enhanced interactive Python shell." |
|
30 | 30 |
@@ -60,7 +60,7 b' You can implement other color schemes easily, the syntax is fairly' | |||
|
60 | 60 | self-explanatory. Please send back new schemes you develop to the author for |
|
61 | 61 | possible inclusion in future releases. |
|
62 | 62 | |
|
63 |
$Id: ultraTB.py 9 |
|
|
63 | $Id: ultraTB.py 992 2006-01-04 18:35:40Z fperez $""" | |
|
64 | 64 | |
|
65 | 65 | #***************************************************************************** |
|
66 | 66 | # Copyright (C) 2001 Nathaniel Gray <n8gray@caltech.edu> |
@@ -121,9 +121,12 b' def _fixed_getinnerframes(etb, context=1,tb_offset=0):' | |||
|
121 | 121 | # otherwise produce 5 blank lines printed out (there is no file at the |
|
122 | 122 | # console) |
|
123 | 123 | rec_check = records[tb_offset:] |
|
124 | rname = rec_check[0][1] | |
|
125 | if rname == '<ipython console>' or rname.endswith('<string>'): | |
|
126 | return rec_check | |
|
124 | try: | |
|
125 | rname = rec_check[0][1] | |
|
126 | if rname == '<ipython console>' or rname.endswith('<string>'): | |
|
127 | return rec_check | |
|
128 | except IndexError: | |
|
129 | pass | |
|
127 | 130 | |
|
128 | 131 | aux = traceback.extract_tb(etb) |
|
129 | 132 | assert len(records) == len(aux) |
General Comments 0
You need to be logged in to leave comments.
Login now