Another thing I noticed is the help for the withlist --run option says in part:
If additional arguments are given at the end of the command line, they
are passed as subsequent positional arguments to the callable. For
additional help, see --details.
The additional arguments are not actually passed as subsequent
positional arguments to the callable. They are passed as a single
positional argument which is a tuple of the additional arguments.
--details is correct in its example showing
def change(mlist, args):
mlist.display_name = args[0]
but the --run description makes me think it should be
def change(mlist, name):
mlist.display_name = name
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mailman-Developers mailing list [email protected] https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
