Fix bug: excluded modules in one package would be implicitly excluded from packages that depend on it

This fixes the lack of 'xml' package in the 'morepy' package.
This commit is contained in:
rdb 2015-08-28 20:14:05 +02:00
parent 56b94eb815
commit 838589ef0f

View File

@ -2196,8 +2196,10 @@ class Packager:
ext = Filename(lowerName).getExtension()
if ext not in self.packager.nonuniqueExtensions:
self.skipFilenames[lowerName] = True
for moduleName, mdef in package.moduleNames.items():
self.skipModules[moduleName] = mdef
if not mdef.exclude:
self.skipModules[moduleName] = mdef
# Packager constructor
def __init__(self, platform = None):