Fixing a bunch of issues with the OS plugin code

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162527 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/python-wrapper.swig b/scripts/Python/python-wrapper.swig
index a2c7a48..1acbe27 100644
--- a/scripts/Python/python-wrapper.swig
+++ b/scripts/Python/python-wrapper.swig
@@ -779,7 +779,7 @@
                 
             if (PyCallable_Check (pfunc))
             {
-                PyObject *argList = Py_BuildValue("S", SBProc_PyObj);
+                PyObject *argList = Py_BuildValue("(O)", SBProc_PyObj);
 
                 if (PyErr_Occurred ())
                 {