diff options
Diffstat (limited to 'src/mailman/commands/cli_withlist.py')
| -rw-r--r-- | src/mailman/commands/cli_withlist.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/commands/cli_withlist.py b/src/mailman/commands/cli_withlist.py index 127308a05..d3df6dad7 100644 --- a/src/mailman/commands/cli_withlist.py +++ b/src/mailman/commands/cli_withlist.py @@ -217,8 +217,8 @@ class Withlist: if len(history_file_template) > 0: # Expand substitutions. substitutions = { - key.lower(): getattr(config, key) - for key in dir(config) if key.endswith('_DIR') + key.lower(): value + for key, value in config.paths.items() } history_file = Template( history_file_template).safe_substitute(substitutions) |
