Commit 03dbe186 authored by Guido van Rossum's avatar Guido van Rossum

Import parsefile from driver module.

parent 87244ccc
......@@ -188,8 +188,8 @@ class DummyEngine:
else:
# Up to last slash is the filename
fileName = macroName[:i]
from Products.ParsedXML.DOM import ExpatBuilder
doc = ExpatBuilder.parse(fileName, 1)
from driver import parsefile
doc = parsefile(fileName)
return doc, macroName[i+1:]
def setRepeat(self, name, expr):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment