[Lxml-checkins] r50463 - in lxml/trunk: . src/lxml

scoder at codespeak.net scoder at codespeak.net
Wed Jan 9 19:31:33 CET 2008


Author: scoder
Date: Wed Jan  9 19:31:33 2008
New Revision: 50463

Modified:
   lxml/trunk/   (props changed)
   lxml/trunk/src/lxml/xslt.pxi
Log:
 r3209 at delle:  sbehnel | 2008-01-05 22:39:37 +0100
 cleanup


Modified: lxml/trunk/src/lxml/xslt.pxi
==============================================================================
--- lxml/trunk/src/lxml/xslt.pxi	(original)
+++ lxml/trunk/src/lxml/xslt.pxi	Wed Jan  9 19:31:33 2008
@@ -356,7 +356,8 @@
         cdef xmlDoc* c_doc
 
         if not _checkThreadDict(self._c_style.doc.dict):
-            _kw['profile_run'] = profile_run
+            if profile_run is not False:
+                _kw['profile_run'] = profile_run
             return _copyXSLT(self)(_input, **_kw)
 
         input_doc = _documentOrRaise(_input)


More information about the lxml-checkins mailing list