summaryrefslogtreecommitdiff
path: root/git-coverage
diff options
context:
space:
mode:
Diffstat (limited to 'git-coverage')
-rwxr-xr-xgit-coverage2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-coverage b/git-coverage
index 5d824a4..a1ee260 100755
--- a/git-coverage
+++ b/git-coverage
@@ -477,7 +477,7 @@ class PythonCoverage:
base = os.path.basename(filename)
for path in self._list_files():
- if not coverage and fnmatch.fnmatch(path, "*_%s,cover" % base):
+ if not coverage and fnmatch.fnmatch(path, "*%s*" % base):
coverage = self._read_coverage(path)
os.unlink(path)