mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
index function throws ValueError not KeyError
This commit is contained in:
@@ -29,7 +29,7 @@ def patch_args(args):
|
||||
if is_python(args[0]):
|
||||
try:
|
||||
indC = args.index('-c')
|
||||
except KeyError:
|
||||
except ValueError:
|
||||
indC = -1
|
||||
|
||||
if indC != -1:
|
||||
|
||||
Reference in New Issue
Block a user