commit | 7ec155f5be6cdcbf55a607c2846cbd4ea80c3681 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Apr 21 13:52:56 2006 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Apr 21 13:52:56 2006 +0000 |
tree | 8fb4f8315252abc286cdd52d052f628e48e03113 | |
parent | e4dea98e5aed37b71625cd76988433f5f8bee379 [diff] |
Fix relative import. This fixes test_sax.py.
diff --git a/Lib/xmlcore/sax/xmlreader.py b/Lib/xmlcore/sax/xmlreader.py index 6b37d37..1cade65 100644 --- a/Lib/xmlcore/sax/xmlreader.py +++ b/Lib/xmlcore/sax/xmlreader.py
@@ -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)