Previous version of this code is a syntax error under Py3
Previous version of this code is a syntax error under Py3

However this change is not exactly correct. It doesn't show the full
traceback under Py2.

tomdottom/keteparaha,aychedee/keteparaha