diff --git a/conda_smithy/configure_feedstock.py b/conda_smithy/configure_feedstock.py index 99a9fb6d8..6c4177b82 100755 --- a/conda_smithy/configure_feedstock.py +++ b/conda_smithy/configure_feedstock.py @@ -317,7 +317,7 @@ def main(forge_file_directory): warnings.warn('No conda-forge.yml found. Assuming default options.') else: with open(forge_yml, "r") as fh: - file_config = list(yaml.load_all(fh))[0] + file_config = list(yaml.load_all(fh))[0] or {} # The config is just the union of the defaults, and the overriden # values. for key, value in file_config.items():