From 3cbb33e5c6068d80c50f64a543550611eca8309a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Tue, 30 Jun 2020 17:52:10 +0200 Subject: [PATCH] Fix python3_enable to return true Recent regression spotted by Dmitry Tantsur. DevStack dropped Py2 support but the now-unused-in-devstack python3_enable got its result nastily inversed. Change-Id: I4b37cc847a24705c4955cec2e6e45f0514705f1b --- inc/python | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/python b/inc/python index 727d52cd5b..f98d28d995 100644 --- a/inc/python +++ b/inc/python @@ -446,7 +446,7 @@ function setup_package { # Report whether python 3 should be used # TODO(frickler): drop this once all legacy uses are removed function python3_enabled { - return 1 + return 0 } # Provide requested python version and sets PYTHON variable