From 7ec155f5be6cdcbf55a607c2846cbd4ea80c3681 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 21 Apr 2006 13:52:56 +0000 Subject: [PATCH] Fix relative import. This fixes test_sax.py. --- Lib/xmlcore/sax/xmlreader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/xmlcore/sax/xmlreader.py b/Lib/xmlcore/sax/xmlreader.py index 6b37d37ab4e..1cade65fe0c 100644 --- a/Lib/xmlcore/sax/xmlreader.py +++ b/Lib/xmlcore/sax/xmlreader.py @@ -113,7 +113,7 @@ def __init__(self, bufsize=2**16): XMLReader.__init__(self) def parse(self, source): - import saxutils + from . import saxutils source = saxutils.prepare_input_source(source) self.prepareParser(source)