From 2561e80dc821f403411e61b875e34eaecdd7dd35 Mon Sep 17 00:00:00 2001 From: Erin O'Connell Date: Sun, 24 Jun 2018 20:27:19 -0600 Subject: [PATCH] simpler approach --- pipenv/core.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pipenv/core.py b/pipenv/core.py index 4ead2d83..85d33406 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -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