]> git.ipfire.org Git - thirdparty/git.git/commit - git-p4.py
git-p4: make python2.7 the oldest supported version
authorYang Zhao <yang.zhao@skyboxlabs.com>
Fri, 13 Dec 2019 23:52:35 +0000 (15:52 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Jan 2020 20:53:39 +0000 (12:53 -0800)
commit0b4396f0688f6c82ada83eab68b1c8dd3669d8bf
tree499a6a09945d1cbdb520af2843620ff5cd17e4e1
parent559c6fc317f92a0a3994f816d3513cd322745852
git-p4: make python2.7 the oldest supported version

Python2.6 and earlier have been end-of-life'd for many years now, and
we actually already use 2.7-only features in the code. Make the version
check reflect current realities.

This also removes the need to explicitly define CalledProcessError if
it's not available.

Signed-off-by: Yang Zhao <yang.zhao@skyboxlabs.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py