[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-3000-checkins
Subject:    [Python-3000-checkins] r45613 -
From:       python-3000-checkins () python ! org (guido ! van ! rossum)
Date:       2006-04-21 13:52:57
Message-ID: 20060421135257.215161E400B () bag ! python ! org
[Download RAW message or body]

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)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic