[maemo-commits] [maemo-commits] r8272 - projects/haf/trunk/python-osso

From: luciano at stage.maemo.org luciano at stage.maemo.org
Date: Wed Nov 22 20:38:39 EET 2006
Author: luciano
Date: 2006-11-22 20:38:35 +0200 (Wed, 22 Nov 2006)
New Revision: 8272

Modified:
   projects/haf/trunk/python-osso/osso-rpc.c
   projects/haf/trunk/python-osso/osso.c
Log:
Fixed a problem with arguments used by rpc_run_with_defaults function

Modified: projects/haf/trunk/python-osso/osso-rpc.c
===================================================================
--- projects/haf/trunk/python-osso/osso-rpc.c	2006-11-22 17:39:22 UTC (rev 8271)
+++ projects/haf/trunk/python-osso/osso-rpc.c	2006-11-22 18:38:35 UTC (rev 8272)
@@ -109,7 +109,7 @@
 	if (!_check_context(self->context)) return 0;
 
 	if (!PyArg_ParseTupleAndKeywords(args, kwds,
-				"ss|Ob:Context.run_with_defaults", kwlist, &application,
+				"ss|Obb:Context.run_with_defaults", kwlist, &application,
 				&method, &py_rpc_args, &wait_reply, &use_system_bus)) {
 		return NULL;
 	}

Modified: projects/haf/trunk/python-osso/osso.c
===================================================================
--- projects/haf/trunk/python-osso/osso.c	2006-11-22 17:39:22 UTC (rev 8271)
+++ projects/haf/trunk/python-osso/osso.c	2006-11-22 18:38:35 UTC (rev 8272)
@@ -97,7 +97,7 @@
 		"Usage example:\n\n"
 		"\tc.rpc_run('com.nokia.backup', '/com/nokia/backup', 'com.nokia.backup', 'backup_finish', True)\n"},
 	{"rpc_run_with_defaults", (PyCFunction)Context_rpc_run_with_defaults, METH_VARARGS | METH_KEYWORDS,
-		"c.rpc_run_with_defaults(application, method[, rpc_args, wait_reply]) -> object\n"
+		"c.rpc_run_with_defaults(application, method[, rpc_args, wait_reply, system_bus]) -> object\n"
 		"\n"
 		"Run a RPC method using default parameters.\n"
 		"\n"


More information about the maemo-commits mailing list