Fixing an issue with Python commands defined interactively

llvm-svn: 139345
This commit is contained in:
Enrico Granata 2011-09-09 01:41:30 +00:00
parent df1df7edf1
commit bac233511d
1 changed files with 1 additions and 1 deletions

View File

@ -1304,7 +1304,7 @@ ScriptInterpreterPython::GenerateScriptAliasFunction (StringList &user_input, St
// Create the function name & definition string.
sstr.Printf ("def %s (debugger, args, dict):", auto_generated_function_name.c_str());
sstr.Printf ("def %s (debugger, args, result, dict):", auto_generated_function_name.c_str());
auto_generated_function.AppendString (sstr.GetData());
// Pre-pend code for setting up the session dictionary.