diff options
author | Marius Gedminas <marius@gedmin.as> | 2004-07-01 09:02:08 +0000 |
---|---|---|
committer | Marius Gedminas <marius@gedmin.as> | 2004-07-01 09:02:08 +0000 |
commit | 25b05199aedb746bd857181bc50b15b741fd2c46 (patch) | |
tree | a71bbe016565399f7aad4d1cd994312db63a54d1 | |
parent | 09bae88bebf21770f0ed74d164aa81c6764bf904 (diff) | |
download | zope-tal-25b05199aedb746bd857181bc50b15b741fd2c46.tar.gz |
Make zope.tal tests pass on Windows.
-rw-r--r-- | driver.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -190,6 +190,7 @@ def compilefile(file, mode=None): prefix = os.path.dirname(os.path.abspath(__file__)) + os.path.sep if filename.startswith(prefix): filename = filename[len(prefix):] + filename = filename.replace(os.sep, '/') # test files expect slashes if mode == "html": from zope.tal.htmltalparser import HTMLTALParser p = HTMLTALParser(gen=TALGenerator(source_file=filename, xml=0)) |