Show More
@@ -176,7 +176,7 b' def shlex_split(x):' | |||
|
176 | 176 | while x!="": |
|
177 | 177 | try: |
|
178 | 178 | comps=shlex.split(x) |
|
179 | if endofline>=1: | |
|
179 | if len(endofline)>=1: | |
|
180 | 180 | comps.append("".join(endofline)) |
|
181 | 181 | return comps |
|
182 | 182 | except ValueError: |
@@ -1,3 +1,9 b'' | |||
|
1 | 2007-03-20 J�rgen Stenarson <jorgen.stenarson@bostream.nu> | |
|
2 | * IPython/Extensions/ipy_stock_completer.py | |
|
3 | shlex_split, fix bug in shlex_split. len function | |
|
4 | call was missing in if statement. Caused shlex_split to | |
|
5 | sometimes return "" as last element. | |
|
6 | ||
|
1 | 7 | 2007-03-18 Fernando Perez <Fernando.Perez@colorado.edu> |
|
2 | 8 | |
|
3 | 9 | * IPython/completer.py |
General Comments 0
You need to be logged in to leave comments.
Login now