From acced689950c68df5d4fc3c2a89024638a7d346e Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Apr 05 2016 17:53:14 +0000 Subject: Remove allow_abbrev option It was added in Python3.5. Remove for the sake of compatibility with Fedora 23-. --- diff --git a/spectool b/spectool index f92bf28..3be29b6 100755 --- a/spectool +++ b/spectool @@ -202,7 +202,6 @@ def parseopts(): parser = argparse.ArgumentParser( description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter, - allow_abbrev=False, add_help=False) parser.add_argument('spec', help='The specfile to be parsed', nargs='?')