Skip to content

Commit

Permalink
Don't use the vendored concurrent.futures when it's available in stdlib.
Browse files Browse the repository at this point in the history
  • Loading branch information
thedrow committed Sep 20, 2016
1 parent 6f9ada4 commit b6abba0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pip/req/req_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@

from pip._vendor import pkg_resources
from pip._vendor import requests
from pip._vendor.concurrent.futures.thread import ThreadPoolExecutor
try:
from concurrent.futures.thread import ThreadPoolExecutor
except ImportError:
from pip._vendor.concurrent.futures.thread import ThreadPoolExecutor
from pip.compat import expanduser
from pip.download import (is_file_url, is_dir_url, is_vcs_url, url_to_path,
unpack_url)
Expand Down

0 comments on commit b6abba0

Please sign in to comment.