kolla/kolla/tests
Marcin Juszkiewicz 8df6eb0118 replace 'distro_python3' variable with 'distro_python_version'
RHEL7 derived distros use Python 2.7
RHEL8 uses Python 3.6
Ubuntu 18.04 uses Python 3.6, but we haven't enabled it yet.
Debian:buster uses Python 3.7, but we haven't enabled it yet.

We have several places in code where "/lib/pythonX.Y/site-packages"
is used so we need to know value of X.Y rather than py2/py3 switch.

How to check for Python 2:

{% if distro_python_version == '2.7' %}

Breaks: Iad6b70b433a0dd1b0f8ae6790fd280594517661a
Change-Id: Ie24f109af19ae0438c21e0d43cb3cc947812b4ce
2019-03-12 17:13:46 +00:00
..
common add unittest code base 2016-01-18 11:42:00 +00:00
docker Fix image plugin functionality for oslo.config 2016-02-12 06:00:20 +00:00
etc Fix plugin parsing for base images 2016-11-04 10:27:39 +00:00
__init__.py add unittest code base 2016-01-18 11:42:00 +00:00
base.py Make build.py importable lib 2016-06-07 16:40:16 +00:00
test_build.py replace 'distro_python3' variable with 'distro_python_version' 2019-03-12 17:13:46 +00:00
test_hacking.py Add HACKING.rst and hacking test case. 2016-11-24 15:55:43 +08:00
test_methods.py always update APT lists when install packages 2017-05-08 14:31:33 +02:00