]> Savannah Git Hosting - gnulib.git/commit
gnulib-tool: Simplify the Python version test.
authorBruno Haible <bruno@clisp.org>
Sat, 27 Apr 2024 18:33:59 +0000 (20:33 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 28 Apr 2024 09:21:39 +0000 (11:21 +0200)
commit6cb75b5ee654ccafc605cb73087aa8e23bd2e457
tree9e507d5e4796e25c69836d954d4d56a6d50e0c11
parentb2b3e3b754f865834c8c66f3b2f1d73fecea2216
gnulib-tool: Simplify the Python version test.

Suggested by Pádraig Brady in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-04/msg00469.html>.

* gnulib-tool: Use Python's sys.version_info, not --version.
* gnulib-tool.py: Use the same version test here. Use --version only to
produce a specific error message.
ChangeLog
gnulib-tool
gnulib-tool.py