dev-python/PyUtilib: Drop superfluous calls to python_is_python3

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2020-08-03 23:23:47 +02:00
parent 7b8a504f04
commit 67107091ca

View File

@@ -51,11 +51,4 @@ python_install_all() {
python_install() {
distutils-r1_python_install
if ! python_is_python3; then
printf "# Placeholder for python2\n" \
> "${D}$(python_get_sitedir)/${PN,,}/__init__.py"
python_optimize
fi
}