commit: 2594bfb030e5c613dea137cbbd60e8e4098990ff
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 16 23:45:14 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 24 04:54:38 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2594bfb0
python-r1.eclass: localise 'i' in python_setup
Reported-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/python-r1.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 2fd5c70120e9..caa37bc54ae2 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -729,7 +729,7 @@ python_setup() {
fi
# (reverse iteration -- newest impl first)
- local found
+ local found i
_python_verify_patterns "${@}"
for (( i = ${#_PYTHON_SUPPORTED_IMPLS[@]} - 1; i >= 0; i-- )); do
local impl=${_PYTHON_SUPPORTED_IMPLS[i]}