[Lxml-checkins] r32382 - lxml/trunk/src/lxml
scoder at codespeak.net
scoder at codespeak.net
Sat Sep 16 09:19:16 CEST 2006
Author: scoder
Date: Sat Sep 16 09:19:14 2006
New Revision: 32382
Modified:
lxml/trunk/src/lxml/xmlerror.pxi
Log:
small cleanup
Modified: lxml/trunk/src/lxml/xmlerror.pxi
==============================================================================
--- lxml/trunk/src/lxml/xmlerror.pxi (original)
+++ lxml/trunk/src/lxml/xmlerror.pxi Sat Sep 16 09:19:14 2006
@@ -333,7 +333,7 @@
cdef char* c_message
cdef char* c_element
cdef int i, text_size, element_size
- if __DEBUG == 0 or msg is NULL or cstd.strcmp(msg, '\n') == 0:
+ if __DEBUG == 0 or msg is NULL or msg[0] == c'\n':
return
cstd.va_start(args, msg)
More information about the lxml-checkins
mailing list