Changeset - fefd139b4980
[Not reviewed]
default
0 2 0
Mads Kiilerich - 6 years ago 2020-03-04 13:47:15
mads@kiilerich.com
cli: fix argv bug just introduced in 2ce0bc6e85f1

Reported by mjacob.
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/bin/kallithea_api.py
Show inline comments
 
@@ -59,7 +59,7 @@ def argparser(argv):
 
                 'be also `%s`' % (FORMAT_PRETTY, FORMAT_JSON),
 
            default=FORMAT_PRETTY
 
    )
 
    args, other = parser.parse_known_args(args=argv)
 
    args, other = parser.parse_known_args(args=argv[1:])
 
    return parser, args, other
 

	
 

	
kallithea/bin/kallithea_gist.py
Show inline comments
 
@@ -68,7 +68,7 @@ def argparser(argv):
 
                       'be also `%s`' % (FORMAT_PRETTY, FORMAT_JSON),
 
            default=FORMAT_PRETTY
 
    )
 
    args, other = parser.parse_known_args(args=argv)
 
    args, other = parser.parse_known_args(args=argv[1:])
 
    return parser, args, other
 

	
 

	
0 comments (0 inline, 0 general)