not every module has 'source:'

This commit is contained in:
Radovan Bast 2016-05-20 00:44:48 +02:00
parent e2ae1fac50
commit 9531ac499e

View File

@ -55,6 +55,7 @@ def fetch_modules(config, relative_path, download_directory):
cleaned_config[_k] = flat_add(cleaned_config[_k], _v)
# fetch sources and parse them
if 'source' in d:
for src in to_l(d['source']):
i += 1