Rev 1873: Fix formatting, remove unnecessary reference increment. in file:///data/jelmer/bzr-svn/trunk/

Jelmer Vernooij jelmer at samba.org
Mon Sep 8 23:54:55 BST 2008


At file:///data/jelmer/bzr-svn/trunk/

------------------------------------------------------------
revno: 1873
revision-id: jelmer at samba.org-20080908225453-6shaspzohbdj8kx3
parent: jelmer at samba.org-20080908222036-00frv6b2nqdwl6jc
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Tue 2008-09-09 00:54:53 +0200
message:
  Fix formatting, remove unnecessary reference increment.
modified:
  ra.c                           ra.pyx-20080313140933-qybkqaxe3m4mcll7-1
=== modified file 'ra.c'
--- a/ra.c	2008-09-08 22:20:36 +0000
+++ b/ra.c	2008-09-08 22:54:53 +0000
@@ -716,9 +716,9 @@
 	svn_auth_baton_t *auth_baton;
 	svn_error_t *err;
 
-	if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s|OOOOO", kwnames, &url, &progress_cb, 
-									 (PyObject **)&auth, &config, &client_string_func,
-									 &open_tmp_file_func))
+	if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s|OOOOO", kwnames, &url, 
+									 &progress_cb, (PyObject **)&auth, &config, 
+									 &client_string_func, &open_tmp_file_func))
 		return NULL;
 
 	ret = PyObject_New(RemoteAccessObject, &RemoteAccess_Type);
@@ -765,7 +765,6 @@
 #if SVN_VER_MAJOR >= 1 && SVN_VER_MINOR >= 5
 	callbacks2->get_client_string = py_get_client_string;
 #endif
-	Py_INCREF(config);
 	config_hash = config_hash_from_object(config, ret->pool);
 	if (config_hash == NULL) {
 		apr_pool_destroy(ret->pool);




More information about the bazaar-commits mailing list