Change in ovirt-engine-sdk[master]: sdk: Use alternative imports for Python 3

Juan Hernandez has submitted this change and it was merged. Change subject: sdk: Use alternative imports for Python 3 ...................................................................... sdk: Use alternative imports for Python 3 This patch checks for import errors and tries to import alternative modules that work with Python 3, in particular it tries the following alternatives: urlparse -> urllib.parse UserDict -> collections.UserDict thread -> _thread Change-Id: I79748d9dac0961dc290e539ae9f8e555bcd0aa2a Related: https://bugzilla.redhat.com/1096137 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- M generator/src/main/java/org/ovirt/engine/sdk/generator/python/templates/EntryPointHeadTemplate M src/ovirtsdk/api.py M src/ovirtsdk/utils/ordereddict.py M src/ovirtsdk/utils/reflectionhelper.py M src/ovirtsdk/utils/searchhelper.py 5 files changed, 31 insertions(+), 8 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me; Ready for merge; Passed CI tests -- To view, visit https://gerrit.ovirt.org/41328 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I79748d9dac0961dc290e539ae9f8e555bcd0aa2a Gerrit-PatchSet: 5 Gerrit-Project: ovirt-engine-sdk Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Ravi Nori <rnori@redhat.com> Gerrit-Reviewer: automation@ovirt.org
participants (1)
-
juan.hernandez@redhat.com