Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-p4: python3: replace dict.has_key(k) with "k in dict"
author
Luke Diamand
<luke@diamand.org>
Tue, 19 Jun 2018 08:04:07 +0000
(09:04 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 19 Jun 2018 16:34:31 +0000
(09:34 -0700)
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>
raw
|
patch
|
inline
| side by side (from:
dba1c9d
)
No differences found