Message164077
| Author |
vinay.sajip |
| Recipients |
bethard, chriz, eric.araujo, ned.deily, pwil3058, tshepang, vinay.sajip |
| Date |
2012年06月26日.13:56:30 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1340718991.71.0.873825101685.issue12713@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|