From: Mark Florisson Date: Sat, 26 Mar 2011 11:31:18 +0000 (+0100) Subject: Debugger: Fix little exception detection bug X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ee64cf503a27a190941c29b1e9cfff054acc3ef8;p=cython.git Debugger: Fix little exception detection bug --- diff --git a/Cython/Debugger/libpython.py b/Cython/Debugger/libpython.py index 43b4353b..43e15e10 100644 --- a/Cython/Debugger/libpython.py +++ b/Cython/Debugger/libpython.py @@ -2195,7 +2195,7 @@ class PythonInfo(LanguageInfo): inf_value = tstate['curexc_value'] if inf_type: - return 'An exception was raised: %s(%s)' % (inf_value,) + return 'An exception was raised: %s' % (inf_value,) except (ValueError, RuntimeError), e: # Could not read the variable tstate or it's memory, it's ok pass