From: Guido van Rossum Date: Fri, 21 Apr 2006 13:52:56 +0000 (+0000) Subject: Fix relative import. This fixes test_sax.py. X-Git-Tag: v3.0a1~1430 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ec155f5be6cdcbf55a607c2846cbd4ea80c3681;p=thirdparty%2FPython%2Fcpython.git Fix relative import. This fixes test_sax.py. --- diff --git a/Lib/xmlcore/sax/xmlreader.py b/Lib/xmlcore/sax/xmlreader.py index 6b37d37ab4e6..1cade65fe0c7 100644 --- a/Lib/xmlcore/sax/xmlreader.py +++ b/Lib/xmlcore/sax/xmlreader.py @@ -113,7 +113,7 @@ class IncrementalParser(XMLReader): XMLReader.__init__(self) def parse(self, source): - import saxutils + from . import saxutils source = saxutils.prepare_input_source(source) self.prepareParser(source)