diff options
author | Pablo Figue <pablo.gfigue@gmail.com> | 2013-02-12 07:28:24 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-02-12 07:28:24 +0100 |
commit | f1ee883b0d17b39acdb11e6cb45a8c2d73feb789 (patch) | |
tree | 468e43d4192131437d38f230911a079113cc956e | |
parent | a4787f4c84229a7b2a3b47fc3be21a236d3325fe (diff) |
More robust looking for python coverage files
-rwxr-xr-x | git-coverage | 2 |
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) |