Reviewed: https://review.openstack.org/312351 Committed: https://git.openstack.org/cgit/openstack/oslo.log/commit/?id=c63991fb4d0f02c27a10cc93b08a0d3901026755 Submitter: Jenkins Branch: master
commit c63991fb4d0f02c27a10cc93b08a0d3901026755 Author: yan.haifeng <email address hidden> Date: Wed May 4 15:38:42 2016 +0800
Fix example issue
example LOG.exception("An Exception occurred") in both usage.py, usage_helper.py and usage_i18n.py failed when use py34.
fix it by raising exception before calling LOG.exception().
Change-Id: I2b6ea35fbf171232fea0cc54265f8be3dc61457f Closes-Bug: #1578071
Reviewed: https:/ /review. openstack. org/312351 /git.openstack. org/cgit/ openstack/ oslo.log/ commit/ ?id=c63991fb4d0 f02c27a10cc93b0 8a0d3901026755
Committed: https:/
Submitter: Jenkins
Branch: master
commit c63991fb4d0f02c 27a10cc93b08a0d 3901026755
Author: yan.haifeng <email address hidden>
Date: Wed May 4 15:38:42 2016 +0800
Fix example issue
example LOG.exception("An Exception occurred") in both usage.py,
usage_helper.py and usage_i18n.py failed when use py34.
fix it by raising exception before calling LOG.exception().
Change-Id: I2b6ea35fbf1712 32fea0cc54265f8 be3dc61457f
Closes-Bug: #1578071