Change in vdsm[master]: xmlrpc: Parsing error logging enhancement - vdsClient

ybronhei at redhat.com ybronhei at redhat.com
Wed Nov 13 16:53:23 UTC 2013


Yaniv Bronhaim has posted comments on this change.

Change subject: xmlrpc: Parsing error logging enhancement - vdsClient
......................................................................


Patch Set 7:

(1 comment)

....................................................
File lib/vdsm/vdscli.py.in
Line 42:             transport)
Line 43: 
Line 44:     def wrapped_parse_response(self, *args, **kwargs):
Line 45:         try:
Line 46:             return self._orig_parse_response(*args[1:], **kwargs)
it must be like that, first arg is self , and you have the previous origin self in args already.
Line 47:         except ExpatError:
Line 48:             sys.stderr.write('Parsing error was thrown during parsing '
Line 49:                              'response when provided: {}'.format(args[1]))
Line 50:             raise


-- 
To view, visit http://gerrit.ovirt.org/20627
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ife29c4f7749b9cd8a4ad892f486d91509e505ae4
Gerrit-PatchSet: 7
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: mooli tayer <mtayer at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list