Change in ovirt-engine-sdk[sdk_4.1]: Don't avoid reserved words in enum values text

From Ondra Machacek <omachace@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@redhat.com> Signed-off-by: Juan Hernandez <juan.hernandez@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@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Ondra Machacek <omachace@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review