Change in vdsm[master]: logUtils.funcName: work on partial methods

asegurap at redhat.com asegurap at redhat.com
Wed Jan 23 13:01:35 UTC 2013


Antoni Segura Puimedon has posted comments on this change.

Change subject: logUtils.funcName: work on partial methods
......................................................................


Patch Set 1:

Forgot to put a link to the place that shows why it should be 'func' instead of 'im_func'.
http://docs.python.org/3/library/functools.html#functools.partial

As you can see in the link, the returned newfunc has the original method stored in the 'func' attribute.

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

Gerrit-MessageType: comment
Gerrit-Change-Id: I59ce729edadc57b5df4eee8860d96367d9ed8253
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list