Mercurial > bitten > bitten-test
changeset 486:ab4f39c2fae5
fix figleaf reporting with Windows paths
author | mgood |
---|---|
date | Fri, 21 Mar 2008 05:48:24 +0000 |
parents | 28123a0c14db |
children | fbd5bc3c2a48 |
files | bitten/build/pythontools.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bitten/build/pythontools.py +++ b/bitten/build/pythontools.py @@ -386,7 +386,7 @@ base, ext = os.path.splitext(filename) if ext != '.py': continue - modname = base.replace('/', '.') + modname = base.replace(os.path.sep, '.') realfilename = ctxt.resolve(filename) interesting_lines = get_lines(open(realfilename)) covered_lines = coverage_data.get(realfilename, set())