10000 Update recipes.rst · ashang/python-for-android@1d20930 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1d20930

Browse files
authored
Update recipes.rst
Without the arch parameter, an error "list index out of range" will be thrown.
1 parent 9c819c6 commit 1d20930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/recipes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ overrides if you do not use them::
434434
# alongside this one
435435

436436
def get_recipe_env(self, arch):
437-
env = super(YourRecipe, self).get_recipe_env()
437+
env = super(YourRecipe, self).get_recipe_env(arch)
438438
# Manipulate the env here if you want
439439
return env
440440

0 commit comments

Comments
 (0)
0