aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/generate/pkgcheck/checks.py4
-rwxr-xr-xdoc/generate/pkgcheck/keywords.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/generate/pkgcheck/checks.py b/doc/generate/pkgcheck/checks.py
index a1feb297..5d62ee2d 100755
--- a/doc/generate/pkgcheck/checks.py
+++ b/doc/generate/pkgcheck/checks.py
@@ -39,10 +39,10 @@ def main(f=sys.stdout, **kwargs):
wrapper = TextWrapper(width=85)
- for i, scope in enumerate(base.known_scopes.values()):
+ for i, scope in enumerate(base.scopes.values()):
_rst_header('-', scope.desc.capitalize() + ' scope')
- checks = (x for x in const.CHECKS.values() if x.scope == i)
+ checks = (x for x in const.CHECKS.values() if x.scope == scope)
for check in checks:
if check.__doc__ is not None:
try:
diff --git a/doc/generate/pkgcheck/keywords.py b/doc/generate/pkgcheck/keywords.py
index ea3fbb81..816ec604 100755
--- a/doc/generate/pkgcheck/keywords.py
+++ b/doc/generate/pkgcheck/keywords.py
@@ -37,10 +37,10 @@ def main(f=sys.stdout, **kwargs):
for keyword in check.known_results:
related_checks[keyword].add(check.__name__)
- for scope in base.known_scopes.values():
+ for scope in base.scopes.values():
_rst_header('-', scope.desc.capitalize() + ' scope')
- keywords = (x for x in const.KEYWORDS.values() if x.scope == scope.scope)
+ keywords = (x for x in const.KEYWORDS.values() if x.scope == scope)
for keyword in keywords:
if keyword.__doc__ is not None:
try: