Exclude old files in attic

This commit is contained in:
Georg Baum 2015-11-11 20:50:40 +01:00
parent 051ebbcf40
commit 0b222f1b11

View File

@ -21,6 +21,7 @@ def convertdir(docdir, prefix, lyx2lyx):
os.chdir(docdir)
for i in os.listdir("."):
if os.path.isdir(i):
if i != 'attic':
subdir = os.path.join(docdir, i)
subprefix = os.path.join(prefix, i)
convertdir(subdir, subprefix, lyx2lyx)