Barry Warsaw pushed to branch master at mailman / Mailman
Commits:
8163536d by Barry Warsaw at 2016-05-01T17:51:32-04:00
Pay down some minor tech-debt.
- - - - -
1 changed file:
- src/mailman/commands/cli_withlist.py
Changes:
=====================================
src/mailman/commands/cli_withlist.py
=====================================
--- 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)
View it on GitLab:
https://gitlab.com/mailman/mailman/commit/8163536d132f25fd4e0a5e5c15a7f6c22e05672f
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org