summaryrefslogtreecommitdiff
path: root/t/t4018/perl-skip-end-of-heredoc
diff options
context:
space:
mode:
authorLibravatar Hervé Beraud <herveberaud.pro@gmail.com>2019-09-18 08:33:22 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-09-18 12:03:05 -0700
commitd17ae00c97d3edbe548a0aaa64ac37bfc9440809 (patch)
tree9d8b09b79a897e4b5568b87a06dadeeb3d9ee4b2 /t/t4018/perl-skip-end-of-heredoc
parentGit 2.23 (diff)
downloadtgif-d17ae00c97d3edbe548a0aaa64ac37bfc9440809.tar.xz
hg-to-git: make it compatible with both python3 and python2
Python 2 is EOL at the end of 2019, many distros and systems now come with python 3 as their default version. Rewrite features used in hg-to-git that are no longer supported in Python 3, in such a way that an updated code can still be usable with Python 2: - print is not a statement; use print() function instead. - dict.has_key(key) is no more; use "key in dict" instead. Signed-off-by: Hervé Beraud <herveberaud.pro@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/perl-skip-end-of-heredoc')
0 files changed, 0 insertions, 0 deletions