From da4a5f0b3770bed0f463e325326d9689710596d9 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sun, 2 Jan 2011 20:06:12 +0000 Subject: Fix indentation --- Modules/posixmodule.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index fcc73ad..b1242dd 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -7305,7 +7305,7 @@ posix_tempnam(PyObject *self, PyObject *args) name = tempnam(dir, pfx); #endif if (name == NULL) - return PyErr_NoMemory(); + return PyErr_NoMemory(); result = PyString_FromString(name); free(name); return result; @@ -7329,7 +7329,7 @@ posix_tmpfile(PyObject *self, PyObject *noargs) fp = tmpfile(); if (fp == NULL) - return posix_error(); + return posix_error(); return PyFile_FromFile(fp, "", "w+b", fclose); } #endif @@ -7360,16 +7360,16 @@ posix_tmpnam(PyObject *self, PyObject *noargs) name = tmpnam(buffer); #endif if (name == NULL) { - PyObject *err = Py_BuildValue("is", 0, + PyObject *err = Py_BuildValue("is", 0, #ifdef USE_TMPNAM_R - "unexpected NULL from tmpnam_r" + "unexpected NULL from tmpnam_r" #else - "unexpected NULL from tmpnam" + "unexpected NULL from tmpnam" #endif - ); - PyErr_SetObject(PyExc_OSError, err); - Py_XDECREF(err); - return NULL; + ); + PyErr_SetObject(PyExc_OSError, err); + Py_XDECREF(err); + return NULL; } return PyString_FromString(buffer); } -- cgit v0.12