Author: reinhard
Date: 2010-05-19 10:17:14 -0500 (Wed, 19 May 2010)
New Revision: 10183

Modified:
   trunk/gnue-common/
   trunk/gnue-common/src/base/errors.py
Log:
BaseException.message has been deprecated as of Python 2.6.



Property changes on: trunk/gnue-common
___________________________________________________________________
Name: bzr:revision-info
   - timestamp: 2010-05-05 11:21:31.405999899 +0200
committer: Reinhard Müller <reinhard.muel...@bytewise.at>
properties: 
        branch-nick: common

   + timestamp: 2010-05-19 17:15:45.028000116 +0200
committer: Reinhard Müller <reinhard.muel...@bytewise.at>
properties: 
        branch-nick: common

Name: bzr:file-ids
   - utils/helpers/files.py     
5...@3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-common:utils%2Fhelpers%2Ffiles.py

   + src/base/errors.py 
9...@3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-common:src%2Fbase%2Ferrors.py

Name: bzr:revision-id:v4
   - 3116 reinhard.muel...@bytewise.at-20100426083315-ccfwx2pihuvqn60z
3117 reinhard.muel...@bytewise.at-20100503114756-unpxm52de0towufo
3118 reinhard.muel...@bytewise.at-20100503115129-uvondrz5bvkqubyv
3119 reinhard.muel...@bytewise.at-20100505081835-9peco6k7a2le0mvg
3120 reinhard.muel...@bytewise.at-20100505084742-wn5vtc4a129z8g28
3121 reinhard.muel...@bytewise.at-20100505092131-m2avvsci5w6aj0rv

   + 3116 reinhard.muel...@bytewise.at-20100426083315-ccfwx2pihuvqn60z
3117 reinhard.muel...@bytewise.at-20100503114756-unpxm52de0towufo
3118 reinhard.muel...@bytewise.at-20100503115129-uvondrz5bvkqubyv
3119 reinhard.muel...@bytewise.at-20100505081835-9peco6k7a2le0mvg
3120 reinhard.muel...@bytewise.at-20100505084742-wn5vtc4a129z8g28
3121 reinhard.muel...@bytewise.at-20100505092131-m2avvsci5w6aj0rv
3122 reinhard.muel...@bytewise.at-20100519151545-pybk8q2s234vzsf2

Name: bzr:text-parents
   - 
   + src/base/errors.py 
reinhard.muel...@bytewise.at-20100420093633-j5qknxin2umh25p7


Modified: trunk/gnue-common/src/base/errors.py
===================================================================
--- trunk/gnue-common/src/base/errors.py        2010-05-12 15:19:31 UTC (rev 
10182)
+++ trunk/gnue-common/src/base/errors.py        2010-05-19 15:17:14 UTC (rev 
10183)
@@ -333,7 +333,7 @@
     else:
         # We're never sure in which encoding the message actually is, so we're
         # cautious and use inconv which does errors='replace'.
-        message = i18n.inconv(evalue.message)
+        message = i18n.inconv(str(evalue))
 
     # detail
     if isinstance(evalue, Error) and evalue.detail is not None:


_______________________________________________
commit-gnue mailing list
commit-gnue@gnu.org
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to