Rev 1517: Avoid declarations after statements. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk

Jelmer Vernooij jelmer at samba.org
Sat Aug 2 12:21:01 BST 2008


At http://people.samba.org/bzr/jelmer/bzr-svn/trunk

------------------------------------------------------------
revno: 1517
revision-id: jelmer at samba.org-20080802112059-vsot1vbdsurwr75m
parent: jelmer at samba.org-20080802023906-ejia88lxdux839t6
author: Mark Hammond <mhammond at skippinet.com.au>
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Sat 2008-08-02 13:20:59 +0200
message:
  Avoid declarations after statements.
modified:
  ra.c                           ra.pyx-20080313140933-qybkqaxe3m4mcll7-1
=== modified file 'ra.c'
--- a/ra.c	2008-08-01 21:06:43 +0000
+++ b/ra.c	2008-08-02 11:20:59 +0000
@@ -331,8 +331,8 @@
 static svn_error_t *py_cb_editor_open_directory(const char *path, void *parent_baton, svn_revnum_t base_revision, apr_pool_t *pool, void **child_baton)
 {
 	PyObject *self = (PyObject *)parent_baton, *ret;
+	PyGILState_STATE state = PyGILState_Ensure();
 	*child_baton = NULL;
-	PyGILState_STATE state = PyGILState_Ensure();
 	ret = PyObject_CallMethod(self, "open_directory", "sl", path, base_revision);
 	CB_CHECK_PYRETVAL(ret);
 	*child_baton = (void *)ret;




More information about the bazaar-commits mailing list