From 2359ffd7c24e49c022ed9aef46b54e086b5dbe63 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 14 Sep 2017 13:23:13 -0400 Subject: [PATCH] cleanup windows debugging Signed-off-by: Kenneth Reitz --- pipenv/utils.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pipenv/utils.py b/pipenv/utils.py index 081860eb..c0420745 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -25,7 +25,6 @@ requests = requests.session() def python_version(path_to_python): - print(path_to_python) if not path_to_python: return None @@ -35,14 +34,11 @@ def python_version(path_to_python): try: TEMPLATE = 'Python {}.{}.{}' - print('{0} --version'.format(path_to_python)) c = delegator.run('{0} --version'.format(path_to_python), block=False) c.return_code == 0 - except Exception as e: - print(e) + except Exception: return None - print('yay') output = c.out.strip() or c.err.strip() parsed = parse.parse(TEMPLATE, output).fixed