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 serhiy.storchaka
Recipients SilentGhost, serhiy.storchaka
Date 2017-04-01.06:38:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491028731.32.0.981459327576.issue29958@psf.upfronthosting.co.za>
In-reply-to
Content
In the comment to the patch on issue28115 SilentGhost suggested to pass required=True to add_mutually_exclusive_group(). This makes the last "else" not needed.

Proposed patch implements this idea for zipfile and tarfile. It also improves error handling when pass empty tar archive name, and adds a hyphen in "command-line".
History
Date User Action Args
2017-04-01 06:38:51serhiy.storchakasetrecipients: + serhiy.storchaka, SilentGhost
2017-04-01 06:38:51serhiy.storchakasetmessageid: <1491028731.32.0.981459327576.issue29958@psf.upfronthosting.co.za>
2017-04-01 06:38:51serhiy.storchakalinkissue29958 messages
2017-04-01 06:38:50serhiy.storchakacreate