Commit f575d8fc authored by JINMEI Tatuya's avatar JINMEI Tatuya

[1866] added an empty .gitignore to keep the effectively-empty directory.

parent 0479cb52
......@@ -181,7 +181,9 @@ def import_definitions(classcode2txt, typecode2txt, typeandclass):
# also apply to files.
filelist = os.listdir(classdir)
filelist.sort()
if len(filelist) == 0: # if there's no known types treat it as meta
if len(filelist) == 0:
# if there's no known types treat it as meta. Note that
# listdir() (seemingly) ignores .gitignore.
meta_classes[class_txt] = class_code
continue
for file in filelist:
......
# This file is here only for making the directory effectively empty.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment