mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Remove Python 2.6 compat
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user