summaryrefslogtreecommitdiff
path: root/src/mailman/utilities/modules.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/utilities/modules.py')
-rw-r--r--src/mailman/utilities/modules.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman/utilities/modules.py b/src/mailman/utilities/modules.py
index 3d9f45470..4a506321e 100644
--- a/src/mailman/utilities/modules.py
+++ b/src/mailman/utilities/modules.py
@@ -106,8 +106,7 @@ def find_components(package, interface):
module = sys.modules[module_name]
if not hasattr(module, '__all__'):
continue
- for component in scan_module(module, interface):
- yield component
+ yield from scan_module(module, interface)