From c1692faba7b18bc269236965156173c394786e58 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Thu, 5 Aug 2021 01:38:58 +0900 Subject: [PATCH] Fix #9525: tutorial: Wrong condition in recipe.py --- doc/development/tutorials/examples/recipe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/development/tutorials/examples/recipe.py b/doc/development/tutorials/examples/recipe.py index 1c3389847f0..fbcfea362f4 100644 --- a/doc/development/tutorials/examples/recipe.py +++ b/doc/development/tutorials/examples/recipe.py @@ -24,7 +24,7 @@ def handle_signature(self, sig, signode): def add_target_and_index(self, name_cls, sig, signode): signode['ids'].append('recipe' + '-' + sig) - if 'contains' not in self.options: + if 'contains' in self.options: ingredients = [ x.strip() for x in self.options.get('contains').split(',')]