This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xiang.zhang
Recipients Endre, berker.peksag, xiang.zhang
Date 2016-05-04.16:15:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462378510.44.0.0779849156423.issue26952@psf.upfronthosting.co.za>
In-reply-to
Content
This error occurs due to there is no action belong to the mutexGroup, the code requires at least one. You can simply add

    mutexGroup.add_argument('--foo', action='store_true')

and you'll see the error disappears. I have no idea that this behaviour is intended or not.
History
Date User Action Args
2016-05-04 16:15:10xiang.zhangsetrecipients: + xiang.zhang, berker.peksag, Endre
2016-05-04 16:15:10xiang.zhangsetmessageid: <1462378510.44.0.0779849156423.issue26952@psf.upfronthosting.co.za>
2016-05-04 16:15:10xiang.zhanglinkissue26952 messages
2016-05-04 16:15:10xiang.zhangcreate