On 10/21/10 3:47 PM, Jacek Kałucki wrote: > I see you reordered 'message' and 'args' conditions accordingly to my > suggestion.
I only just saw your suggestion after you mentioned it, actually. Probably better to send patches to dabo-dev! > But I was wrong, because Python 2.5 has 'args' attribute too, but it's > empty tuple, > thus it leads to empty message string as result. > In python 3.0 there is no 'message' attribute, so there will be no > warning and no problem here. > In summary, revert code order to handle 'message' attribute first, please. Okay, see the latest. The DeprecationWarning messages were annoying me, so hopefully this satisfies the requirements for all python versions. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
