[Shell] Simplify Extracting Python Version
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 18 Apr 2019 01:37:19 +0000 (01:37 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 18 Apr 2019 01:37:19 +0000 (01:37 +0000)
commitea6037d84eddd9185b5e3eae5ce0675f4e158b36
treef3a84a09a1d7bd5730e7190b867caa89f5ab9380
parent00d97ea2021f8636acec81146ae7ca50d44c8d0a
[Shell] Simplify Extracting Python Version

Instead of parsing the Python version with a fairly convoluted regex,
just print the major and minor version and call it a day.

llvm-svn: 358635
lldb/scripts/Python/finish-swig-Python-LLDB.sh