From: Georg Baum Date: Wed, 11 Nov 2015 19:50:40 +0000 (+0100) Subject: Exclude old files in attic X-Git-Tag: 2.2.0alpha1~27 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0b222f1b115e41e0514c9b5cb609b60ca73ed99b;p=lyx.git Exclude old files in attic --- diff --git a/development/tools/updatedocs.py b/development/tools/updatedocs.py index d2c7fe8c04..99e1713c4c 100644 --- a/development/tools/updatedocs.py +++ b/development/tools/updatedocs.py @@ -21,9 +21,10 @@ def convertdir(docdir, prefix, lyx2lyx): os.chdir(docdir) for i in os.listdir("."): if os.path.isdir(i): - subdir = os.path.join(docdir, i) - subprefix = os.path.join(prefix, i) - convertdir(subdir, subprefix, lyx2lyx) + if i != 'attic': + subdir = os.path.join(docdir, i) + subprefix = os.path.join(prefix, i) + convertdir(subdir, subprefix, lyx2lyx) continue (base, ext) = os.path.splitext(i) if ext != ".lyx":