--- python.eclass +++ python.eclass @@ -2550,7 +2550,7 @@ if [[ "$(_python_get_implementation "${PYTHON_ABI}")" != "Jython" ]]; then "$(PYTHON ${PYTHON_ABI})" -O "${root}$(python_get_libdir)/py_compile.py" "${other_files[@]}" &> /dev/null || return_code="1" fi - _python_clean_compiled_modules "${other_dirs[@]}" + _python_clean_compiled_modules "${other_files[@]}" fi eend "${return_code}" fi