From: <vo...@us...> - 2007-12-11 09:11:53
|
Revision: 447 http://opde.svn.sourceforge.net/opde/?rev=447&view=rev Author: volca Date: 2007-12-11 01:11:10 -0800 (Tue, 11 Dec 2007) Log Message: ----------- A stupid copy-paste mistake. Only one parameter is expected here. Modified Paths: -------------- trunk/proto/python/ConfigServiceBinder.cpp Modified: trunk/proto/python/ConfigServiceBinder.cpp =================================================================== --- trunk/proto/python/ConfigServiceBinder.cpp 2007-12-11 09:03:25 UTC (rev 446) +++ trunk/proto/python/ConfigServiceBinder.cpp 2007-12-11 09:11:10 UTC (rev 447) @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * - * $Id:$ + * $Id$ * *****************************************************************************/ @@ -164,7 +164,7 @@ Object* o = python_cast<Object*>(self, &msType); const char* fname; - if (PyArg_ParseTuple(args, "ss", &fname)) { + if (PyArg_ParseTuple(args, "s", &fname)) { o->mInstance->loadParams(fname); result = Py_None; Py_INCREF(result); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |