]> granicus.if.org Git - python/commitdiff
Trimmed trailing whitespace.
authorTim Peters <tim.peters@gmail.com>
Sun, 1 Aug 2004 23:24:21 +0000 (23:24 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 1 Aug 2004 23:24:21 +0000 (23:24 +0000)
Python/import.c

index e76ada9783862da2b9034c5934f3f7dad3456c0c..aa16b194acfc6fc7e418240377ec063bd140c214 100644 (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)