Ignore the media vendor directory

This commit is contained in:
Jonathan Springer 2015-09-08 17:28:08 -04:00
parent 8ed4e714be
commit 90260e67e2

View File

@ -99,7 +99,7 @@ def main():
pkg = pkgutil.walk_packages([path_to_code], onerror=print) pkg = pkgutil.walk_packages([path_to_code], onerror=print)
for importer, module, package in pkg: for importer, module, package in pkg:
if module.startswith('openlp'): if module.startswith('openlp') and not module.endswith(('vendor', 'vlc')):
path = os.path.join(root_path, module.replace('.', os.path.sep)) path = os.path.join(root_path, module.replace('.', os.path.sep))
if package: if package:
if not os.path.exists(path): if not os.path.exists(path):