Gaetan Delannay 2009-08-04 14:39:43 +02:00
parent 4c29c7c484
commit facbe7fa3d
8 changed files with 229 additions and 16 deletions

View file

@ -227,6 +227,7 @@ class Generator:
# Potentially, sub-modules exist
moduleFolder = os.path.dirname(moduleFile)
for elem in os.listdir(moduleFolder):
if elem.startswith('.'): continue
subModuleName, ext = os.path.splitext(elem)
if ((ext == '.py') and (subModuleName != '__init__')) or \
os.path.isdir(os.path.join(moduleFolder, subModuleName)):