Message164077
You could consider just a small refinement: in the first loop in _SubParsersAction.__call__ where you look for the abbreviation, you can just set parser_name = p and break. Then the logic just below that can stay as it is: all you've done is morphed the abbreviation to the full command name. |
|
Date |
User |
Action |
Args |
2012-06-26 13:56:32 | vinay.sajip | set | recipients:
+ vinay.sajip, bethard, ned.deily, eric.araujo, pwil3058, tshepang, chriz |
2012-06-26 13:56:31 | vinay.sajip | set | messageid: <1340718991.71.0.873825101685.issue12713@psf.upfronthosting.co.za> |
2012-06-26 13:56:31 | vinay.sajip | link | issue12713 messages |
2012-06-26 13:56:30 | vinay.sajip | create | |
|