Nir Soffer has posted comments on this change. Change subject: BindingXmlRPC - do_PUT to return execution result in headers ......................................................................
Patch Set 2: Code-Review+1 (1 comment) Looks ok, can be nicer if the new method uses the same style of other methods in this class. http://gerrit.ovirt.org/#/c/27997/2/vdsm/BindingXMLRPC.py File vdsm/BindingXMLRPC.py: Line 188: except Exception: Line 189: self.send_error(httplib.INTERNAL_SERVER_ERROR, Line 190: "error during execution", exc_info=True) Line 191: Line 192: def _sendResponseHeaders(self, response): This class inherit from Python builtin clas, using underscore_style, so we should also use this style here. Line 193: self.send_header(self.HEADER_CODE, response['status']['code']) Line 194: self.send_header(self.HEADER_MESSAGE, Line 195: response['status']['message']) Line 196: -- To view, visit http://gerrit.ovirt.org/27997 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I25b13f44a65cb2c794c458b03ba361bf0af92120 Gerrit-PatchSet: 2 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Liron Ar <[email protected]> Gerrit-Reviewer: Allon Mureinik <[email protected]> Gerrit-Reviewer: Federico Simoncelli <[email protected]> Gerrit-Reviewer: Liron Ar <[email protected]> Gerrit-Reviewer: Nir Soffer <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
