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

scoder at codespeak.net scoder at codespeak.net
Sat Dec 8 16:06:50 CET 2007


Author: scoder
Date: Sat Dec  8 16:06:49 2007
New Revision: 49554

Modified:
   lxml/trunk/src/lxml/extensions.pxi
Log:


Modified: lxml/trunk/src/lxml/extensions.pxi
==============================================================================
--- lxml/trunk/src/lxml/extensions.pxi	(original)
+++ lxml/trunk/src/lxml/extensions.pxi	Sat Dec  8 16:06:49 2007
@@ -81,12 +81,14 @@
                     ns_uri_utf = self._to_utf(ns_uri)
                     python.PyList_Append(ns, (prefix_utf, ns_uri_utf))
                 namespaces = ns
+            else:
+                namespaces = None
 
         self._doc        = None
         self._exc        = _ExceptionContext()
         self._extensions = extensions
         self._namespaces = namespaces
-        self._temp_refs = _TempStore()
+        self._temp_refs  = _TempStore()
 
         if enable_regexp:
             _regexp = _ExsltRegExp()


More information about the lxml-checkins mailing list