From ecedafec31920fe6d77c86e2033b6d91a3c10ed9 Mon Sep 17 00:00:00 2001 From: Phil Elson Date: Wed, 9 Mar 2016 06:41:13 +0000 Subject: [PATCH] Handle the case where the config doesn't have an appveyor secure section. --- conda_smithy/templates/appveyor.yml.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda_smithy/templates/appveyor.yml.tmpl b/conda_smithy/templates/appveyor.yml.tmpl index 52cb4b0d4..f1de89f2e 100644 --- a/conda_smithy/templates/appveyor.yml.tmpl +++ b/conda_smithy/templates/appveyor.yml.tmpl @@ -20,7 +20,7 @@ environment: # overridden in the matrix definition where appropriate. CONDA_PY: "27" - {%- for name, hashed_secure in appveyor.secure | dictsort %} + {%- for name, hashed_secure in (appveyor.secure or {}) | dictsort %} {{ name }}: # The {{ name }} secure variable. This is defined canonically in conda-forge.yml. secure: {{ hashed_secure }}