Commit d962bcb2 authored by Aaron M. Watson's avatar Aaron M. Watson Committed by Stefan Behnel

Fixed a bug

parent 565061a9
...@@ -132,7 +132,7 @@ class Plugin(CoveragePlugin): ...@@ -132,7 +132,7 @@ class Plugin(CoveragePlugin):
try: try:
with open(c_file, 'rb') as f: with open(c_file, 'rb') as f:
if b'/* Generated by Cython ' not in f.read(30): 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): except (IOError, OSError):
c_file = None 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