On Wed, Jan 08, 2003 at 02:40:18PM +0000, Jos? Matos wrote: > the problem is that get_value always expect to have a value to catch a value > there > > def get_value(lines, token, start, end = 0): > i = find_token2(lines, token, start, end) > if i == -1: > return "" > return string.split(lines[i])[1] > > Notice the [1] we are assuming that there are always 2 member. Is it ok to > test for the presence of the second and if not present to return the empty > string?
Yes, I think it would be fine. > > Closing this bug there aren't anymore lyx2lyx open bugs. :-) Did you fix the code to work with nested tabulars (as we discussed some time ago) ?