[Python-modules-commits] [python-pyld] 193/276: Do not use 'message' attribute, it is deprecated.

Wolfgang Borgert debacle at moszumanska.debian.org
Wed Oct 8 23:48:10 UTC 2014


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to branch master
in repository python-pyld.

commit dd3ec92ea16e5e3689a9ff6e3c39b647aafbe741
Author: Dave Longley <dlongley at digitalbazaar.com>
Date:   Tue Sep 10 15:09:53 2013 -0400

    Do not use 'message' attribute, it is deprecated.
---
 tests/runtests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/runtests.py b/tests/runtests.py
index fbc351b..391c27d 100644
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -210,7 +210,7 @@ def get_jsonld_error_code(err):
             return err.code
         elif err.cause:
             return get_jsonld_error_code(err.cause)
-    return err.message
+    return str(err)
 
 
 def read_json(filename):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pyld.git



More information about the Python-modules-commits mailing list