Change in ovirt-engine-sdk[sdk_4.1]: Support strings as parameters to the 'Reader.read' method

Code Review gerrit at ovirt.org
Fri Feb 24 14:24:08 UTC 2017


>From Ondra Machacek <omachace at redhat.com>:

Ondra Machacek has submitted this change and it was merged.

Change subject: Support strings as parameters to the 'Reader.read' method
......................................................................


Support strings as parameters to the 'Reader.read' method

This patch adds support for passing strings as parameters to the
'Reader.read' method, so that code like this is possible:

  vm = Reader.read('<vm/>')

Change-Id: Ic2510c4e8b3e541efe6fda5e81af843ddafb0489
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit 54f04ba170b760507113c80afaf1efcda0898d3a)
---
M sdk/lib/ovirtsdk4/reader.py
M sdk/tests/test_reader.py
2 files changed, 11 insertions(+), 2 deletions(-)

Approvals:
  Ondra Machacek: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/73052
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic2510c4e8b3e541efe6fda5e81af843ddafb0489
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_4.1
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list