common/hooks: look for pycompile_version to identify python version.
Also prepary python 3.5
This commit is contained in:
parent
a5cbb04f2e
commit
05b15f6f4f
|
@ -9,8 +9,10 @@ hook() {
|
||||||
pyver=2.7;;
|
pyver=2.7;;
|
||||||
python3.4-*)
|
python3.4-*)
|
||||||
pyver=3.4;;
|
pyver=3.4;;
|
||||||
|
python3.5-*)
|
||||||
|
pyver=3.5;;
|
||||||
*)
|
*)
|
||||||
for i in $python_versions; do
|
for i in $pycompile_version $python_versions; do
|
||||||
if [ "$pyver" ]; then
|
if [ "$pyver" ]; then
|
||||||
warn=1
|
warn=1
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue