diff options
| author | Abhilash Raj | 2016-05-16 12:41:43 -0700 |
|---|---|---|
| committer | Abhilash Raj | 2016-05-16 13:07:52 -0700 |
| commit | ea7336fe7b642922e6dc3499b5cd6316786b6024 (patch) | |
| tree | 7b958a3bbfe785d59b5e4bed3f3c5385e65c46fa /src/mailman/utilities/modules.py | |
| parent | 57e3a7fd0fb225e144cf4a5f60b3aa4680570870 (diff) | |
| download | mailman-ea7336fe7b642922e6dc3499b5cd6316786b6024.tar.gz mailman-ea7336fe7b642922e6dc3499b5cd6316786b6024.tar.zst mailman-ea7336fe7b642922e6dc3499b5cd6316786b6024.zip | |
Diffstat (limited to 'src/mailman/utilities/modules.py')
| -rw-r--r-- | src/mailman/utilities/modules.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/utilities/modules.py b/src/mailman/utilities/modules.py index 88639a881..b16aa45e5 100644 --- a/src/mailman/utilities/modules.py +++ b/src/mailman/utilities/modules.py @@ -91,7 +91,7 @@ def find_components(package, interface): """ for filename in resource_listdir(package, ''): basename, extension = os.path.splitext(filename) - if extension != '.py': + if extension != '.py' or basename.startswith('.'): continue module_name = '{}.{}'.format(package, basename) __import__(module_name, fromlist='*') |
