diff options
| author | bwarsaw | 2006-04-29 19:23:36 +0000 |
|---|---|---|
| committer | bwarsaw | 2006-04-29 19:23:36 +0000 |
| commit | a63a04fb8d263a6464a77de6894bc738e8e26529 (patch) | |
| tree | 2cbbb4dea5d1377b753ab76d76376e1903d17808 /Mailman/bin/request.py | |
| parent | 7c195b1f29ef15dcc933130e38386c76885100cd (diff) | |
| download | mailman-a63a04fb8d263a6464a77de6894bc738e8e26529.tar.gz mailman-a63a04fb8d263a6464a77de6894bc738e8e26529.tar.zst mailman-a63a04fb8d263a6464a77de6894bc738e8e26529.zip | |
Move list_lists and list_members over to Mailman.bin package and rewrite to
use $-strings and optparse.
A side effect of the rewrite is that list_members -d and -n now require their
argument, whereas before they were optional (but that is counter to command
line parsing standards and not supported by optparse). Now, instead of bare
-n use '-n any' and instead of bare -d use '-d any'.
Fix ReopenableFileHandler.emit() to ensure that all lines end in a newline.
In i18n.py, create and use a subclass of string.Template so that dotted
attribute paths are legal in $-strings. So for example, if you have an object
'foo' in one of the namespaces and that has an attribute 'bar', you can say
"$foo.bar" to print the value of foo.bar. Should reduce the number of
extraneous local variables just to do the attribute path traversal.
Diffstat (limited to 'Mailman/bin/request.py')
0 files changed, 0 insertions, 0 deletions
