# HG changeset patch # User osimons # Date 1284634193 0 # Node ID 172826bf87ac480e4c1dc776a9ef40fa2388b98a # Parent 9041015ad056950c53b66b525cc7aa404fc2bba2 Fix context menu 'coverage' linking. Closes #578. Thanks to simohe@... for report and patch. diff --git a/bitten/report/coverage.py b/bitten/report/coverage.py --- a/bitten/report/coverage.py +++ b/bitten/report/coverage.py @@ -189,7 +189,7 @@ and data.get('context').resource or None if resource and isinstance(resource, Resource) \ and resource.realm=='source' and data.get('file') \ - and not req.args.get('annotate'): + and not req.args.get('annotate', '') == 'coverage': add_ctxtnav(req, 'Coverage', title='Annotate file with test coverage ' 'data (if available)',