From 1d209304956dfe5f4a45f01be102c1c6c488ad02 Mon Sep 17 00:00:00 2001
From: Kesa Oluwafunmilola <kesaoluwafunmilola@gmail.com>
Date: Fri, 19 Apr 2019 07:34:15 +0200
Subject: [PATCH] Update recipes.rst

Without the arch parameter, an error "list index out of range" will be thrown.
---
 doc/source/recipes.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/source/recipes.rst b/doc/source/recipes.rst
index 595230c5d2..ce2fdd5b69 100644
--- a/doc/source/recipes.rst
+++ b/doc/source/recipes.rst
@@ -434,7 +434,7 @@ overrides if you do not use them::
                         # alongside this one
 
         def get_recipe_env(self, arch):
-            env = super(YourRecipe, self).get_recipe_env()
+            env = super(YourRecipe, self).get_recipe_env(arch)
             # Manipulate the env here if you want
             return env