Browse code

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

Radosław Piliszek authored on 2020/07/01 00:52:10
Showing 1 changed files
... ...
@@ -446,7 +446,7 @@ function setup_package {
446 446
 # Report whether python 3 should be used
447 447
 # TODO(frickler): drop this once all legacy uses are removed
448 448
 function python3_enabled {
449
-    return 1
449
+    return 0
450 450
 }
451 451
 
452 452
 # Provide requested python version and sets PYTHON variable