[Python-checkins] python/dist/src/Modules _csv.c,1.17,1.18

andrewmcnamara at users.sourceforge.net andrewmcnamara at users.sourceforge.net
Fri Jan 7 07:46:52 CET 2005


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14477/Modules

Modified Files:
	_csv.c 
Log Message:
Fix to use PEP7 brace style.


Index: _csv.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_csv.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- _csv.c	7 Jan 2005 04:42:41 -0000	1.17
+++ _csv.c	7 Jan 2005 06:46:50 -0000	1.18
@@ -238,7 +238,8 @@
 			PyErr_Format(PyExc_TypeError, 
 				     "\"%s\" must be an string", name);
 			return -1;
-		} else {
+		}
+		else {
 			Py_XDECREF(*target);
 			Py_INCREF(src);
 			*target = src;
@@ -1025,7 +1026,8 @@
 			PyErr_Format(error_obj,
                                      "single empty field record must be quoted");
 			return -1;
-		} else
+		}
+		else
 			*quoted = 1;
 	}
 



More information about the Python-checkins mailing list