diff options
author | Hervé Beraud <herveberaud.pro@gmail.com> | 2019-09-18 08:33:22 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-09-18 12:03:05 -0700 |
commit | d17ae00c97d3edbe548a0aaa64ac37bfc9440809 (patch) | |
tree | 9d8b09b79a897e4b5568b87a06dadeeb3d9ee4b2 /t/t6032-merge-large-rename.sh | |
parent | Git 2.23 (diff) | |
download | tgif-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/t6032-merge-large-rename.sh')
0 files changed, 0 insertions, 0 deletions