Commit 7c206529 authored by Aaron M. Watson's avatar Aaron M. Watson

Fixed a bug

parent b2298280
......@@ -139,7 +139,7 @@ class Plugin(CoveragePlugin):
try:
with open(c_file, 'rb') as f:
if b'/* Generated by Cython ' not in f.read(30):
return None # not a Cython file
return None, None # not a Cython file
except (IOError, OSError):
c_file = None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment