1. Ned Batchelder
  2. coverage.py
  3. Issues
Issue #215 duplicate

wrong line numbers?

Zooko O'Whielacronx
created an issue

The line numbers don't line up with the lines of code. Maybe there's something funny about rendering here.

Here's a screenshot showing how the line with "ciphertext already present" appears to be one line 265, but the actual HTML has the correct line number: 318:

HACK zompu:~/playground/tahoe-lafs/gitworld/tahoe-lafs$ grep "ciphertext already present, bypassing fetch" htmlcov/src_allmydata_immutable_offloaded.html 
<p id='t318' class='stm run hide_run'>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class='nam'>self</span><span class='op'>.</span><span class='nam'>log</span><span class='op'>(</span><span class='str'>&quot;ciphertext already present, bypassing fetch&quot;</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
HACK zompu:~/playground/tahoe-lafs/gitworld/tahoe-lafs$ grep --line-number "ciphertext already present, bypassing fetch" src/allmydata/immutable/offloaded.py 
318:            self.log("ciphertext already present, bypassing fetch",

This is with Firefox 17.0 as packaged by Ubuntu (in Ubuntu 12.04 "Precise" LTS).

Comments (8)

  1. Log in to comment