Author: georg.brandl
Date: Tue Nov 27 21:40:22 2007
New Revision: 59198

Modified:
   python/branches/py3k/Modules/_csv.c
Log:
Rewrap error message.


Modified: python/branches/py3k/Modules/_csv.c
==============================================================================
--- python/branches/py3k/Modules/_csv.c (original)
+++ python/branches/py3k/Modules/_csv.c Tue Nov 27 21:40:22 2007
@@ -794,9 +794,10 @@
                         return NULL;
                 }
                if (!PyUnicode_Check(lineobj)) {
-                       PyErr_Format(error_obj, "iterator should return "
-                                    "strings, not %.200s (did you open "
-                                    "the file in text mode?)",
+                       PyErr_Format(error_obj,
+                                    "iterator should return strings, "
+                                    "not %.200s "
+                                    "(did you open the file in text mode?)",
                                     lineobj->ob_type->tp_name
                                );
                        Py_DECREF(lineobj);
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to