Trimmed trailing whitespace.

This commit is contained in:
Tim Peters 2004-08-01 23:24:21 +00:00
parent 0e67fd478f
commit 86c7d2f220
1 changed files with 2 additions and 2 deletions

View File

@ -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)