summaryrefslogtreecommitdiff
path: root/src/mailman/config/config.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-01-11 22:52:33 -0500
committerBarry Warsaw2016-01-11 22:52:33 -0500
commit03bb57c8c2a47a08e19b20975622ebb2ef2b81c6 (patch)
tree332bf1e5e36da0a3cb4271b1a471a62865071a62 /src/mailman/config/config.py
parent58ee14bfb1c1c24d06fb0509e42e06e37a505479 (diff)
downloadmailman-03bb57c8c2a47a08e19b20975622ebb2ef2b81c6.tar.gz
mailman-03bb57c8c2a47a08e19b20975622ebb2ef2b81c6.tar.zst
mailman-03bb57c8c2a47a08e19b20975622ebb2ef2b81c6.zip
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', [])