[Python-checkins] cpython (merge 3.3 -> default): Replace tabs with spaces in posixmodule.c
petri.lehtinen
python-checkins at python.org
Tue Oct 23 15:34:04 CEST 2012
http://hg.python.org/cpython/rev/23ddb98aae9f
changeset: 79914:23ddb98aae9f
parent: 79912:665e3be40ad1
parent: 79913:8647b9c703d4
user: Petri Lehtinen <petri at digip.org>
date: Tue Oct 23 16:31:06 2012 +0300
summary:
Replace tabs with spaces in posixmodule.c
files:
Modules/posixmodule.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -2442,7 +2442,7 @@
result = win32_wchdir(path.wide);
else
result = win32_chdir(path.narrow);
- result = !result; /* on unix, success = 0, on windows, success = !0 */
+ result = !result; /* on unix, success = 0, on windows, success = !0 */
#else
#ifdef HAVE_FCHDIR
if (path.fd != -1)
@@ -6700,12 +6700,12 @@
if (!check_CreateSymbolicLink()) {
PyErr_SetString(PyExc_NotImplementedError,
"CreateSymbolicLink functions not found");
- return NULL;
- }
+ return NULL;
+ }
if (!win32_can_symlink) {
PyErr_SetString(PyExc_OSError, "symbolic link privilege not held");
- return NULL;
- }
+ return NULL;
+ }
#endif
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&O&|i$O&:symlink",
@@ -6781,7 +6781,7 @@
DWORD n_bytes_returned;
DWORD io_result;
PyObject *po, *result;
- int dir_fd;
+ int dir_fd;
HANDLE reparse_point_handle;
char target_buffer[MAXIMUM_REPARSE_DATA_BUFFER_SIZE];
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list