Page MenuHomePhorge

[Python 3] Get rid of .has_key()
ClosedPublic

Authored by sicherha on Jan 8 2022, 11:39 AM.
Tags
None
Referenced Files
F12315684: D3241.id9259.diff
Thu, May 23, 3:38 PM
F12315681: D3241.id9205.diff
Thu, May 23, 3:38 PM
F12315678: D3241.id.diff
Thu, May 23, 3:38 PM
Unknown Object (File)
Thu, May 23, 4:23 AM
Unknown Object (File)
Wed, May 22, 4:14 AM
Unknown Object (File)
Mon, May 13, 2:22 PM
Unknown Object (File)
Tue, May 7, 7:04 PM
Unknown Object (File)
Tue, Apr 30, 11:25 AM
Subscribers
None

Details

Summary

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

Diff Detail

Repository
rP pykolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sicherha created this revision.
This revision is now accepted and ready to land.Jan 10 2022, 10:07 AM
This revision was landed with ongoing or failed builds.Jan 10 2022, 8:50 PM
This revision was automatically updated to reflect the committed changes.