mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Remove quotes without additional symbols
This commit is contained in:
@@ -66,8 +66,8 @@ def is_python(path):
|
||||
def remove_quotes_from_args(args):
|
||||
new_args = []
|
||||
for x in args:
|
||||
if x.startswith('"') and x.endswith('"'):
|
||||
x = x.strip('"')
|
||||
if len(x) > 1 and x.startswith('"') and x.endswith('"'):
|
||||
x = x[1:-1]
|
||||
new_args.append(x)
|
||||
return new_args
|
||||
|
||||
|
||||
Reference in New Issue
Block a user