From c51165e2aae74a0784cbaaf955178426c0f3c850 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Thu, 17 Feb 2011 19:53:04 +0000 Subject: [PATCH] Indentation fixed --- psycopg/adapter_list.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/psycopg/adapter_list.c b/psycopg/adapter_list.c index 7bfc1c84..d5c5b4a3 100644 --- a/psycopg/adapter_list.c +++ b/psycopg/adapter_list.c @@ -51,12 +51,12 @@ list_quote(listObject *self) for (i=0; iwrapped, i); - if (wrapped == Py_None) - quoted = Bytes_FromString("NULL"); - else - quoted = microprotocol_getquoted(wrapped, - (connectionObject*)self->connection); + PyObject *wrapped = PyList_GET_ITEM(self->wrapped, i); + if (wrapped == Py_None) + quoted = Bytes_FromString("NULL"); + else + quoted = microprotocol_getquoted(wrapped, + (connectionObject*)self->connection); if (quoted == NULL) goto error; /* here we don't loose a refcnt: SET_ITEM does not change the