mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
simpler approach
This commit is contained in:
+1
-8
@@ -2409,14 +2409,7 @@ def do_check(three=None, python=False, system=False, unused=False, args=None):
|
||||
python = which('python')
|
||||
else:
|
||||
python = system_which('python')
|
||||
|
||||
try:
|
||||
if '--ignore' in args[0]:
|
||||
ignore = ' '.join(args)
|
||||
else:
|
||||
ignore = ''
|
||||
except IndexError:
|
||||
ignore = ''
|
||||
ignore = ' '.join(args)
|
||||
c = delegator.run(
|
||||
'"{0}" {1} check --json --key=1ab8d58f-5122e025-83674263-bc1e79e0 {2}'.format(
|
||||
python, escape_grouped_arguments(path), ignore
|
||||
|
||||
Reference in New Issue
Block a user