Message166176
I don't think this is a bug. You've specified two arguments with the same destination, "foo". This means that argparse will parse the first one, assign it to the attribute "foo" and then parse the second one and assign it to the attribute "foo" again, overwriting the previous one. So you only see the second one, but the first one wasn't ignored.
If you didn't want them to overwrite the same attribute, you either need to declare them as action="append" so that they both add to the same attribute, or you need to declare them with different destinations (and use metavar="foo" if you want them to display the same way). |
|
Date |
User |
Action |
Args |
2012-07-22 22:37:36 | bethard | set | recipients:
+ bethard, flox, mapleoin |
2012-07-22 22:37:36 | bethard | set | messageid: <1342996656.62.0.0171950098764.issue15271@psf.upfronthosting.co.za> |
2012-07-22 22:37:36 | bethard | link | issue15271 messages |
2012-07-22 22:37:35 | bethard | create | |
|