[PATCH] subunithelper: Don't access 'message' attribute directly as it deprecated

Kamen Mazdrashki kamenim at samba.org
Sat Oct 9 18:21:23 MDT 2010


Hi Jelmer,

Would you please consider applying one of the attached patches?
It is intended to stop "Exception.message is deprecated" warning.
I prefer the 0001- one, as our subclasses of Exception are just
a String exceptions and using repr() would give more clues about
what/where has failed.

-- 
CU,
Kamen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-subunithelper-Don-t-access-message-attribute-dire.patch
Type: application/octet-stream
Size: 1005 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101010/56bfcb5f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-subunithelper-Don-t-access-message-attribute-dire.patch
Type: application/octet-stream
Size: 1004 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101010/56bfcb5f/attachment-0001.obj>


More information about the samba-technical mailing list