Bug 812512

Summary: SDK is using dict.has_key() which is deprecated.
Product: [Retired] oVirt Reporter: Jaroslav Henner <jhenner>
Component: ovirt-engine-sdkAssignee: Michael Pasternak <mpastern>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, bazulay, dyasny, iheim, mgoldboi, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-18 10:54:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jaroslav Henner 2012-04-14 09:03:40 UTC
Description of problem:
Running with python -3Wall shows many warnings like:

/usr/lib/python2.7/site-packages/ovirtsdk/utils/reflectionhelper.py:60: DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator


Version-Release number of selected component (if applicable):
ovirt-engine-sdk-1.6.4-1

Comment 1 Michael Pasternak 2012-04-18 10:54:24 UTC
sdk is not supported under python 3.x, when/if we would consider supporting
3.x, we will address this.