HomePhorge

[Python 3] Get rid of .has_key()

Description

[Python 3] Get rid of .has_key()

Summary:
dict.has_key(key) was dropped in Python 3.0. Use key in dict
instead.

Reviewers: machniak, mollekopf

Reviewed By: mollekopf

Differential Revision: https://git.kolab.org/D3241

Details

Provenance
sicherhaAuthored on Jun 5 2021, 11:51 AM
sicherhaPushed on Jan 10 2022, 8:50 PM
Reviewer
mollekopf
Differential Revision
D3241: [Python 3] Get rid of .has_key()
Parents
rPc3b9d5557161: [Python 3] Remove unnecessary occurrences of .keys()
Branches
Unknown
Tags
Unknown
Build Status
Buildable 37849