commit | bc2ae8629c3e8eaa72112c8146339320045ba948 | [log] [tgz] |
---|---|---|
author | junboli <junbo85.li@gmail.com> | Sat Jul 29 15:46:48 2017 +0800 |
committer | junbo.li <junbo85.li@gmail.com> | Mon Jul 31 07:30:28 2017 +0000 |
tree | 7247051f90201de3d8209b2766420d778ae5677c | |
parent | 0252bca0d926774eab86fd88590401897eefa41b [diff] |
Unsupported 'message' Exception attribute in PY3 * Fix unsupported 'message' Exception attribute in PY3 The 'message' attribute has been deprecated and removed from Python3. Use six.text_type(e) instead of e.message. For more details, please check [1]: [1] https://www.python.org/dev/peps/pep-0352/ * Add hacking to prevent this from happening in the future. Change-Id: Id40000c2c453815b04a7d2fd765e19997291d8e3