Fix python3 exception when ctrl-c tools/trace.py
authorBrenden Blanco <bblanco@plumgrid.com>
Fri, 8 Apr 2016 22:52:55 +0000 (15:52 -0700)
committerBrenden Blanco <bblanco@plumgrid.com>
Sun, 10 Apr 2016 04:24:42 +0000 (21:24 -0700)
commitde14f4fd07da461518bd9001601e6b220337d937
treea23486d36349a94adc15c464c6636c529fc2eee8
parent5a0dbcf80a998b5f20572f498672ea1d63baefd9
Fix python3 exception when ctrl-c tools/trace.py

The way to do exception printing in python2/3 compatible way is using
sys.exc_info()[0/1].
tools/trace.py