summaryrefslogtreecommitdiffstats
path: root/kig/scripting/python_scripter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kig/scripting/python_scripter.cc')
-rw-r--r--kig/scripting/python_scripter.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/kig/scripting/python_scripter.cc b/kig/scripting/python_scripter.cc
index 7e833d5c..81f377ac 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 tracebacklist = extract<list>( printexcfunc( exctype, excvalue, exctraceback ) )();
+ list tracebactdelist = extract<list>( printexcfunc( exctype, excvalue, exctraceback ) )();
str tracebackstr( "" );
while ( true )
{
try {
- str s = extract<str>( tracebacklist.pop() );
+ str s = extract<str>( tracebactdelist.pop() );
tracebackstr += s;
}
catch( ... )