diff options
author | Georg Brandl <georg@python.org> | 2008-03-26 13:21:39 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-03-26 13:21:39 +0000 |
commit | e20e22a1a9308d4f27aecefc3589159a0dc16acc (patch) | |
tree | fe06e32533e5aaee6f80be5805310085a9758a1e /sphinx/ext/coverage.py | |
parent | 8125b6b2af515684d5df8446dcadc07ee3eb9ddf (diff) | |
download | sphinx-git-e20e22a1a9308d4f27aecefc3589159a0dc16acc.tar.gz |
Pylint fixing.
Diffstat (limited to 'sphinx/ext/coverage.py')
-rw-r--r-- | sphinx/ext/coverage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/coverage.py b/sphinx/ext/coverage.py index d7a55cbc6..9b3826e76 100644 --- a/sphinx/ext/coverage.py +++ b/sphinx/ext/coverage.py @@ -49,7 +49,7 @@ class CoverageBuilder(Builder): try: self.c_regexes.append((name, re.compile(exp))) except Exception: - warnfunc('invalid regex %r in coverage_c_regexes' % exp) + self.warn('invalid regex %r in coverage_c_regexes' % exp) self.c_ignorexps = {} for (name, exps) in self.config.coverage_ignore_c_items.iteritems(): |