Skip to content

Commit

Permalink
Merge cf9f749 into 885bd32
Browse files Browse the repository at this point in the history
  • Loading branch information
zopar committed Dec 9, 2017
2 parents 885bd32 + cf9f749 commit 2ea25f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions profilehooks.py
Expand Up @@ -634,8 +634,8 @@ def find_source_lines(self):
if self.filename is None:
return
strs = self._find_docstrings(self.filename)
lines = {ln for off, ln in dis.findlinestarts(self.fn.__code__)
if ln not in strs}
lines = [ln for off, ln in dis.findlinestarts(self.fn.__code__)
if ln not in strs]
for lineno in lines:
self.sourcelines.setdefault(lineno, 0)
if lines:
Expand Down

0 comments on commit 2ea25f1

Please sign in to comment.