]> git.lyx.org Git - lyx.git/commit
* prefs2prefs.py : Use a list of [format, conversions] pair.
authorJulien Rioux <jrioux@lyx.org>
Mon, 12 Sep 2011 20:43:06 +0000 (20:43 +0000)
committerJulien Rioux <jrioux@lyx.org>
Mon, 12 Sep 2011 20:43:06 +0000 (20:43 +0000)
commit0fb13b648c2bf418412b8090d21c5801f2638eba
tree0ce7f35640faf7cb546f525b4bbca07482c72549
parentba02c43178d32aa97979b140e2596b5227ce9ac2
* prefs2prefs.py : Use a list of [format, conversions] pair.

    Use a list of [int, list of functions] pair, representing
      - int: the format number, and
      - list of functions: what needs to be done to the file to
                           update it to the given format number.

    This matches what is done in lyx2lyx and helps keeping track of
    format numbers and their corresponding conversion routines.

    Also, add another sanity check.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39668 a592a061-630c-0410-9148-cb99ea01b6c8
lib/scripts/prefs2prefs.py
lib/scripts/prefs2prefs_lfuns.py
lib/scripts/prefs2prefs_prefs.py