Skip to content

Commit

Permalink
Normalize lcov paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
hodgestar committed Oct 18, 2013
1 parent 14f5626 commit 6c031b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion overalls/collectors/lcov.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

"""An lcov collector."""

import os

from overalls.core import Collector, CoverageResults, FileCoverage


Expand Down Expand Up @@ -60,7 +62,7 @@ def feed(self, line):

def handle_sf(self, abs_path):
"""Handle a source filename."""
self._source_file = abs_path
self._source_file = os.path.normpath(abs_path)

def handle_da(self, rest):
"""Handle counts for lines that resulted in executable code."""
Expand Down

0 comments on commit 6c031b5

Please sign in to comment.