[node-patches] Change in ovirt-node[master]: Fetch exception message correctly

fabiand at redhat.com fabiand at redhat.com
Thu Sep 18 06:38:32 UTC 2014


Fabian Deutsch has submitted this change and it was merged.

Change subject: Fetch exception message correctly
......................................................................


Fetch exception message correctly

To prevent the message:
DeprecationWarning: BaseException.message has been deprecated as of
Python 2.6

We are not using the .message attribute of exceptions anymore, but the
str() function.

Change-Id: Ie93a6d28e351af57fb6b6ec956fce9e23ea00267
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/utils/__init__.py
1 file changed, 3 insertions(+), 3 deletions(-)



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie93a6d28e351af57fb6b6ec956fce9e23ea00267
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the node-patches mailing list