summaryrefslogtreecommitdiff
path: root/src/mailman/utilities/modules.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/utilities/modules.py
parent58ee14bfb1c1c24d06fb0509e42e06e37a505479 (diff)
downloadmailman-03bb57c8c2a47a08e19b20975622ebb2ef2b81c6.tar.gz
mailman-03bb57c8c2a47a08e19b20975622ebb2ef2b81c6.tar.zst
mailman-03bb57c8c2a47a08e19b20975622ebb2ef2b81c6.zip
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)