[Python-3000-checkins] r45613 - python/branches/p3yk/Lib/xmlcore/sax/xmlreader.py

guido.van.rossum python-3000-checkins at python.org
Fri Apr 21 15:52:57 CEST 2006


Author: guido.van.rossum
Date: Fri Apr 21 15:52:56 2006
New Revision: 45613

Modified:
   python/branches/p3yk/Lib/xmlcore/sax/xmlreader.py
Log:
Fix relative import.  This fixes test_sax.py.


Modified: python/branches/p3yk/Lib/xmlcore/sax/xmlreader.py
==============================================================================
--- python/branches/p3yk/Lib/xmlcore/sax/xmlreader.py	(original)
+++ python/branches/p3yk/Lib/xmlcore/sax/xmlreader.py	Fri Apr 21 15:52:56 2006
@@ -113,7 +113,7 @@
         XMLReader.__init__(self)
 
     def parse(self, source):
-        import saxutils
+        from . import saxutils
         source = saxutils.prepare_input_source(source)
 
         self.prepareParser(source)


More information about the Python-3000-checkins mailing list