diff options
Diffstat (limited to 'kig/scripting/python_scripter.cc')
-rw-r--r-- | kig/scripting/python_scripter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kig/scripting/python_scripter.cc b/kig/scripting/python_scripter.cc index 81f377ac..7e833d5c 100644 --- a/kig/scripting/python_scripter.cc +++ b/kig/scripting/python_scripter.cc @@ -539,12 +539,12 @@ void PythonScripter::saveErrors() object printexcfunc = d->mainnamespace[ "traceback" ].attr( "format_exception" ); - list tracebactdelist = extract<list>( printexcfunc( exctype, excvalue, exctraceback ) )(); + list tracebacklist = extract<list>( printexcfunc( exctype, excvalue, exctraceback ) )(); str tracebackstr( "" ); while ( true ) { try { - str s = extract<str>( tracebactdelist.pop() ); + str s = extract<str>( tracebacklist.pop() ); tracebackstr += s; } catch( ... ) |