diff options
author | Georg Brandl <georg@python.org> | 2009-07-13 21:31:05 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-07-13 21:31:05 +0200 |
commit | c5c62b252c5522d4f5053e750432e6206f6d5766 (patch) | |
tree | 4fb295fbbbdc218e1833c90b936e68a224b18572 /sphinx/ext/coverage.py | |
parent | 1c030b415e2d82c71de8da57c3ad89921f94ef9d (diff) | |
download | sphinx-git-c5c62b252c5522d4f5053e750432e6206f6d5766.tar.gz |
Access domain data via env.domaindata.
Diffstat (limited to 'sphinx/ext/coverage.py')
-rw-r--r-- | sphinx/ext/coverage.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/ext/coverage.py b/sphinx/ext/coverage.py index 6eb9bc8b3..ed5d92a4f 100644 --- a/sphinx/ext/coverage.py +++ b/sphinx/ext/coverage.py @@ -79,7 +79,7 @@ class CoverageBuilder(Builder): def build_c_coverage(self): # Fetch all the info from the header files - c_objects = self.env.domains['c'].data['objects'] + c_objects = self.env.domaindata['c']['objects'] for filename in self.c_sourcefiles: undoc = [] f = open(filename, 'r') @@ -117,8 +117,8 @@ class CoverageBuilder(Builder): op.close() def build_py_coverage(self): - objects = self.env.domains['py'].data['objects'] - modules = self.env.domains['py'].data['modules'] + objects = self.env.domaindata['py']['objects'] + modules = self.env.domaindata['py']['modules'] for mod_name in modules: ignore = False |