Bug 812512 - SDK is using dict.has_key() which is deprecated.
Summary: SDK is using dict.has_key() which is deprecated.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-sdk
Version: unspecified
Hardware: x86_64
OS: All
unspecified
medium
Target Milestone: ---
: ---
Assignee: Michael Pasternak
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-14 09:03 UTC by Jaroslav Henner
Modified: 2014-01-13 00:37 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-18 10:54:24 UTC
oVirt Team: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.