diff options
| author | Barry Warsaw | 2016-05-01 17:51:32 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2016-05-01 17:51:32 -0400 |
| commit | 8163536d132f25fd4e0a5e5c15a7f6c22e05672f (patch) | |
| tree | dc639ca0c53c48c38be27aa358ac7d4e4f6a662d /src/mailman/commands/cli_withlist.py | |
| parent | dd659b75659f8727425d3102777b850bb32e11be (diff) | |
| download | mailman-8163536d132f25fd4e0a5e5c15a7f6c22e05672f.tar.gz mailman-8163536d132f25fd4e0a5e5c15a7f6c22e05672f.tar.zst mailman-8163536d132f25fd4e0a5e5c15a7f6c22e05672f.zip | |
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) |
