diff options
author | Luke Diamand <luke@diamand.org> | 2018-06-19 08:04:07 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-19 16:34:31 (GMT) |
commit | dba1c9d9f26ac9fce55d0bfde8a040700fc9ff52 (patch) | |
tree | 39a82034fb314c92845a49bc2b3bfc1216e84c70 /git-difftool--helper.sh | |
parent | fc35c9d5dc8fefbc29e9713e6b47eb4c19579d56 (diff) | |
download | git-dba1c9d9f26ac9fce55d0bfde8a040700fc9ff52.zip git-dba1c9d9f26ac9fce55d0bfde8a040700fc9ff52.tar.gz git-dba1c9d9f26ac9fce55d0bfde8a040700fc9ff52.tar.bz2 |
git-p4: python3: replace dict.has_key(k) with "k in dict"
Python3 does not have the dict.has_key() function, so replace all
such calls with "k in dict". This will still work with python2.6
and python2.7.
Converted using 2to3 (plus some hand-editing)
Signed-off-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-difftool--helper.sh')
0 files changed, 0 insertions, 0 deletions