File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1233,7 +1233,7 @@ def build_richtable(data, **kwargs):
12331233 rendered_recipe = data .get ("rendered_recipe" , {})
12341234 if recipe := rendered_recipe .get ("recipe" ): # recipe.yaml
12351235 recipe_format = f"recipe.yaml v{ recipe .get ('schema_version' , 1 )} "
1236- rattler_build_version = rendered_recipe .get ("system_tools" ).get ("rattler-build" , "" )
1236+ rattler_build_version = rendered_recipe .get ("system_tools" , {} ).get ("rattler-build" , "" )
12371237 built_with = f"`rattler-build { rattler_build_version } `"
12381238 else :
12391239 recipe_format = "meta.yaml"
@@ -1244,7 +1244,7 @@ def build_richtable(data, **kwargs):
12441244 built_with = f"`conda-build { conda_build_version } `"
12451245 if conda_version :
12461246 built_with += f", `conda { conda_version } `"
1247- extra = rendered_recipe .get ("extra" , {}) or recipe .get ("extra" , {})
1247+ extra = rendered_recipe .get ("extra" , {}) or ( recipe and recipe .get ("extra" , {})) or {}
12481248 for user in extra .get ("recipe-maintainers" , ["*N/A*" ]):
12491249 if user == "*N/A*" :
12501250 maintainers .append (user )
You can’t perform that action at this time.
0 commit comments