changeset 355:c67532c7d0d2

Use "-" instead of "0" to mark a non-code line in `<py:trace>` reports, just as the new `<java:cobertura>` command does.
author cmlenz
date Sun, 04 Jun 2006 13:21:14 +0000
parents 2ffab7963b8d
children 173f0c362fe1
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
@@ -200,7 +200,7 @@
                         lines.append('0')
                         prev_hits = '0'
                     elif idx not in code_lines: # Not a code line
-                        lines.append('0')
+                        lines.append('-')
                         prev_hits = '0'
                     else: # A code line not flagged by trace.py
                         if prev_hits != '0':
Copyright (C) 2012-2017 Edgewall Software