summaryrefslogtreecommitdiff
path: root/src/mailman/config/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/config/config.py')
-rw-r--r--src/mailman/config/config.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mailman/config/config.py b/src/mailman/config/config.py
index 69ddfb04f..424ad03c0 100644
--- a/src/mailman/config/config.py
+++ b/src/mailman/config/config.py
@@ -245,8 +245,7 @@ class Configuration:
@property
def runner_configs(self):
"""Iterate over all the runner configuration sections."""
- for section in self._config.getByCategory('runner', []):
- yield section
+ yield from self._config.getByCategory('runner', [])
@property
def archivers(self):
@@ -262,8 +261,7 @@ class Configuration:
@property
def language_configs(self):
"""Iterate over all the language configuration sections."""
- for section in self._config.getByCategory('language', []):
- yield section
+ yield from self._config.getByCategory('language', [])