Page MenuHomePhorge

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

Authored by sicherha on Jan 8 2022, 11:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 11, 2:38 PM
Unknown Object (File)
Thu, Jun 6, 11:43 PM
Unknown Object (File)
Mon, May 27, 8:46 PM
Unknown Object (File)
Fri, May 24, 3:36 PM
Unknown Object (File)
Thu, May 23, 3:38 PM
Unknown Object (File)
Thu, May 23, 3:38 PM
Unknown Object (File)
Thu, May 23, 3:38 PM
Unknown Object (File)
Thu, May 23, 4:23 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.