Remove Python 2.6 compat

This commit is contained in:
Tzu-ping Chung
2018-07-01 19:13:21 +08:00
parent 55f02af49b
commit 9930d2edbb
-5
View File
@@ -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)