New submission from Serhiy Storchaka:

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".

----------
assignee: serhiy.storchaka
components: Demos and Tools
messages: 290966
nosy: SilentGhost, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Use add_mutually_exclusive_group(required=True) in zipfile and tarfile 
CLI
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29958>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to