mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Exclude old files in attic
This commit is contained in:
parent
051ebbcf40
commit
0b222f1b11
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user