Juan Hernandez has uploaded a new change for review. Change subject: codegen, sdk: Rename "export" to "export_" ......................................................................
codegen, sdk: Rename "export" to "export_" The classes generated by the generateDS.py tool contain an "export" method intended to convert the objects to the corresponding XML document. The broker classes generated by our own code generator also generate "export" methods for some resources that have an "export" action, for example virtual machines. These two methods clash, making it impossible to generate XML for some broker classes. To avoid this class this patch modifies our code generator so that it will modify the code generated with generateDS.py, renaming the "export" method to "export_". Change-Id: Iad8a031684ddaed11c1b11efc379e746888cd0a2 Bug-Url: https://bugzilla.redhat.com/1167851 Signed-off-by: Juan Hernandez <juan.hernan...@redhat.com> --- M Makefile M generator/src/main/java/org/ovirt/engine/sdk/generator/xsd/XsdCodegen.java M src/ovirtsdk/infrastructure/brokers.py M src/ovirtsdk/infrastructure/common.py M src/ovirtsdk/utils/parsehelper.py M src/ovirtsdk/xml/params.py 6 files changed, 831 insertions(+), 816 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-sdk refs/changes/62/35562/1 -- To view, visit http://gerrit.ovirt.org/35562 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iad8a031684ddaed11c1b11efc379e746888cd0a2 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-sdk Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches