Fix python library lookup path on if "python" binary refers to python2

Authored by arichardson on Feb 8 2016, 5:18 PM.

Description

Fix python library lookup path on if "python" binary refers to python2

On my openSUSE system kdev-python would try to parse the python2
modules instead causing parse errors and bad autocompletion

This change of behaviour was introduced in commit 7d12e7aa196216d

Reviewed on IRC

Details

Committed
arichardsonFeb 8 2016, 5:19 PM
Parents
R53:0ab2160440a9: add version suffix back to FindPython.cmake
Branches
Unknown
Tags
Unknown