[Lxml-checkins] r41996 - lxml/trunk/src/lxml

scoder at codespeak.net scoder at codespeak.net
Tue Apr 10 21:02:28 CEST 2007


Author: scoder
Date: Tue Apr 10 21:02:27 2007
New Revision: 41996

Modified:
   lxml/trunk/src/lxml/objectify.pyx
Log:
typo

Modified: lxml/trunk/src/lxml/objectify.pyx
==============================================================================
--- lxml/trunk/src/lxml/objectify.pyx	(original)
+++ lxml/trunk/src/lxml/objectify.pyx	Tue Apr 10 21:02:27 2007
@@ -717,7 +717,7 @@
                 # '0' or 'f' or 'false'
                 return 0
         elif c_str[0] == c'1' or c_str[0] == c't' or c_str[0] == c'T':
-            if c_str[1] == c'\0' or text.lower() == 'true'):
+            if c_str[1] == c'\0' or text.lower() == 'true':
                 # '1' or 't' or 'true'
                 return 1
         raise ValueError, "Invalid boolean value: '%s'" % text


More information about the lxml-checkins mailing list