Fix file, long, raw_input, and xrange for Python 3
This commit is contained in:
@@ -2286,7 +2286,7 @@ class SaxSelectorHandler(handler.ContentHandler):
|
||||
|
||||
|
||||
def parseSelect(inFileName):
|
||||
infile = file(inFileName, 'r')
|
||||
infile = open(inFileName, 'r')
|
||||
topElementName = None
|
||||
parser = make_parser()
|
||||
documentHandler = SaxSelectorHandler()
|
||||
|
||||
Reference in New Issue
Block a user