From Ondra Machacek <omachace(a)redhat.com>:
Ondra Machacek has submitted this change and it was merged.
Change subject: Don't avoid reserved words in enum values text
......................................................................
Don't avoid reserved words in enum values text
The SDK appends an underscore to generated names that conflict with
Python reserved words. But it also does so for the text of enum
values. This is wrong. This patch fixes it.
Change-Id: Ibf6106a7f34cdf5bf4fb71100f9c247300ea7f02
Signed-off-by: Ondra Machacek <omachace(a)redhat.com>
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
(cherry picked from commit 1b8f9d4efb11c134297b5e5556282481ac4cef0b)
---
M generator/src/main/java/org/ovirt/sdk/python/TypesGenerator.java
1 file changed, 6 insertions(+), 2 deletions(-)
Approvals:
Ondra Machacek: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/73527
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibf6106a7f34cdf5bf4fb71100f9c247300ea7f02
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_4.1
Gerrit-Owner: Ondra Machacek <omachace(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ondra Machacek <omachace(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>