From 9930d2edbbd14ad9019e43745fdd84764c04f2c9 Mon Sep 17 00:00:00 2001 From: Tzu-ping Chung Date: Sun, 1 Jul 2018 19:13:21 +0800 Subject: [PATCH] Remove Python 2.6 compat --- pipenv/core.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pipenv/core.py b/pipenv/core.py index 22c38606..d6db68b3 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -126,11 +126,6 @@ def which(command, location=None, allow_global=False): return p -# Disable warnings for Python 2.6. -if 'urllib3' in globals(): - import urllib3 - from urllib3.exceptions import InsecureRequestWarning - urllib3.disable_warnings(InsecureRequestWarning) project = Project(which=which)