aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/util.py
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2018-09-03 15:05:21 +0530
committerManish Goregaokar <manishsmail@gmail.com>2018-09-11 19:34:38 +0530
commite72e08ea9c7ed2f19ec7539984a3740db056fdba (patch)
treecb8640fc41f0a711fa4745e54ef50e95e67193d0 /python/servo/util.py
parent6b75aa47cb6c34c6e34051ecd126e0982fc669e7 (diff)
downloadservo-e72e08ea9c7ed2f19ec7539984a3740db056fdba.tar.gz
servo-e72e08ea9c7ed2f19ec7539984a3740db056fdba.zip
Allow bootstrap to be run before anything else is installed
Diffstat (limited to 'python/servo/util.py')
-rw-r--r--python/servo/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/util.py b/python/servo/util.py
index d71cffe27da..c093978e631 100644
--- a/python/servo/util.py
+++ b/python/servo/util.py
@@ -20,7 +20,6 @@ import StringIO
import sys
import zipfile
import urllib2
-import certifi
try:
@@ -30,6 +29,7 @@ except ImportError:
# The cafile parameter was added in 2.7.9
if HAS_SNI and sys.version_info >= (2, 7, 9):
+ import certifi
STATIC_RUST_LANG_ORG_DIST = "https://static.rust-lang.org/dist"
URLOPEN_KWARGS = {"cafile": certifi.where()}
else: