#222 Fix argparse error in Python 3
Merged by cqi. Opened by cqi.
cqi/fedpkg fix-argparse-command-in-py3  into  master

Download 222.patch

argparse behaves differently in Python 2 and 3 when no options and
arguments are passed to executable fedpkg. That causes no attribute
named command is set to parsed namespace object in Python 3. Command
line help message has to be output explicitly.

Fixes #221

Signed-off-by: Chenxiong Qi cqi@redhat.com

Looks good to me.

Pull-Request has been merged by cqi

Metadata