From: Luke Diamand Date: Tue, 19 Jun 2018 08:04:07 +0000 (+0100) Subject: git-p4: python3: replace dict.has_key(k) with "k in dict" X-Git-Tag: v2.19.0-rc0~163^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/dba1c9d9f26ac9fce55d0bfde8a040700fc9ff52?ds=sidebyside;hp=dba1c9d9f26ac9fce55d0bfde8a040700fc9ff52 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 Signed-off-by: Junio C Hamano ---