[LyX/master] Correct version number
José Abílio Matos
jamatos at lyx.org
Thu Jul 30 00:48:10 UTC 2020
On Wednesday, 29 July 2020 09.30.43 WEST Juergen Spitzmueller wrote:
> commit 483d9146423bf5f6c32e95128d415b18b239ec12
> Author: Juergen Spitzmueller <spitz at lyx.org>
> Date: Wed Jul 29 10:55:30 2020 +0200
>
> Correct version number
I was curious if there were other problems like this in the code. :-)
The code would work because the numbers do not need to be sequential. There is
no reference to the format 219, the format jumps from 218 to 220.
With some code help:
mod_list =
["lyx_0_06","lyx_0_08","lyx_0_10","lyx_0_12","lyx_1_0","lyx_1_1_5","lyx_1_1_6_0","lyx_1_1_6_3","lyx_1_1","lyx_1_2","lyx_1_3","lyx_1_4","lyx_1_5","lyx_1_6","lyx_2_0","lyx_2_1","lyx_2_2","lyx_2_3","lyx_2_4"]
And a help with a function `to_ranges` from
https://stackoverflow.com/questions/4628333/converting-a-list-of-integers-into-range-in-python
running inside the lyx2lyx directory as:
cv = [l[0] for l in getattr(__import__(mod_list[11]), 'convert')];
list(to_ranges(cv))
and the same with 'revert' it was easy to see that there are no other issues
like this in the lyx2lyx code. :-)
--
José Abílio
More information about the lyx-devel
mailing list