From: Tim Peters Date: Sun, 1 Aug 2004 23:24:21 +0000 (+0000) Subject: Trimmed trailing whitespace. X-Git-Tag: v2.4a2~85 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=86c7d2f2207f3a6f3814c98688311afa68bf5d4a;p=thirdparty%2FPython%2Fcpython.git Trimmed trailing whitespace. --- diff --git a/Python/import.c b/Python/import.c index e76ada978386..aa16b194acfc 100644 --- a/Python/import.c +++ b/Python/import.c @@ -1272,7 +1272,7 @@ find_module(char *fullname, char *subname, PyObject *path, char *buf, if (Py_VerboseFlag > 1) PySys_WriteStderr("# trying %s\n", buf); filemode = fdp->mode; - if (filemode[0] == 'U') + if (filemode[0] == 'U') filemode = "r" PY_STDIOTEXTMODE; fp = fopen(buf, filemode); if (fp != NULL) { @@ -2520,7 +2520,7 @@ get_file(char *pathname, PyObject *fob, char *mode) { FILE *fp; if (fob == NULL) { - if (mode[0] == 'U') + if (mode[0] == 'U') mode = "r" PY_STDIOTEXTMODE; fp = fopen(pathname, mode); if (fp == NULL)