mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Fix bug 436
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5922 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3426dc660f
commit
25cebf4af3
@ -1,3 +1,8 @@
|
||||
2003-01-08 José Abílio Oliveira Matos <jamatos@lyx.org>
|
||||
|
||||
* lyx2lyx/parser_tools.py (get_value): make it robust to the
|
||||
no argument case.
|
||||
|
||||
2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* bind/xemacs.bind:
|
||||
|
@ -80,7 +80,10 @@ 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]
|
||||
if len(string.split(lines[i])) > 1:
|
||||
return string.split(lines[i])[1]
|
||||
else:
|
||||
return ""
|
||||
|
||||
def del_token(lines, token, i, j):
|
||||
k = find_token2(lines, token, i, j)
|
||||
|
Loading…
Reference in New Issue
Block a user