mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
lyx2lyx/lyx_2_1.py: remove 2 warnings I accidentally just committed
This commit is contained in:
parent
7b68005875
commit
5463389ec9
@ -364,11 +364,9 @@ def revert_use_packages(document):
|
|||||||
i = find_re(document.header, regexp, j)
|
i = find_re(document.header, regexp, j)
|
||||||
if i != -1:
|
if i != -1:
|
||||||
value = get_value(document.header, "\\use_package %s" % p, i).split()[1]
|
value = get_value(document.header, "\\use_package %s" % p, i).split()[1]
|
||||||
document.warning(str(value))
|
|
||||||
del document.header[i]
|
del document.header[i]
|
||||||
j = i
|
j = i
|
||||||
document.header.insert(j, "\\use_%s %s" % (p, value))
|
document.header.insert(j, "\\use_%s %s" % (p, value))
|
||||||
document.warning(str(value))
|
|
||||||
j = j + 1
|
j = j + 1
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user