<rdar://problem/14309010>

OS Plugins' __init__ method takes two arguments: (self,process)

I was erroneously passing the session_dict as well as part of my PyCallable changes and that caused plugins to fail to work

llvm-svn: 185240
This commit is contained in:
Enrico Granata 2013-06-28 23:33:18 +00:00
parent 50a16a4275
commit 5c47650fe0
1 changed files with 2 additions and 1 deletions

View File

@ -689,7 +689,8 @@ LLDBSWIGPythonCreateOSPlugin
Py_INCREF(SBProc_PyObj);
PyObject* session_dict = NULL;
retval = pfunc(SBProc_PyObj, session_dict = FindSessionDictionary(session_dictionary_name));
session_dict = session_dict = FindSessionDictionary(session_dictionary_name);
retval = pfunc(SBProc_PyObj);
Py_XINCREF (session_dict);