commit 95dd4f6bf63da04a28165fa901ef6c4016e2c898 Author: Scott Kostyshak <skost...@lyx.org> Date: Sat Jan 7 09:43:47 2023 -0500
updatelayouts.py: skip .txt files --- development/tools/updatelayouts.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/development/tools/updatelayouts.py b/development/tools/updatelayouts.py index ad02f8a..81bf4d6 100755 --- a/development/tools/updatelayouts.py +++ b/development/tools/updatelayouts.py @@ -29,7 +29,8 @@ def main(argv): os.chdir(directory) for i in os.listdir("."): (base, ext) = os.path.splitext(i) - if ext == ".old": + # Skip files like lib/layouts/TODO.txt + if ext in [ ".old", ".txt" ]: continue args = ["layout2layout", i + ".old", i] shutil.copy(args[2], args[1]) -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs