Mercurial > bitten > bitten-test
changeset 852:f9eecefdf174 0.6.x
0.6dev: Merged [929] from trunk.
author | osimons |
---|---|
date | Thu, 14 Oct 2010 11:12:30 +0000 |
parents | bbe3cca18bec |
children | 84aafcda9c9d |
files | bitten/report/coverage.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bitten/report/coverage.py +++ b/bitten/report/coverage.py @@ -222,7 +222,8 @@ reports = [] for build in builds: config = BuildConfig.fetch(self.env, build.config) - if not resource.id.startswith('/' + config.path.lstrip('/')): + # Normalize paths and check (Trac version inconsistencies) + if not resource.id.lstrip('/').startswith(config.path.lstrip('/')): continue reports = Report.select(self.env, build=build.id, category='coverage')