mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
added conditional import statement dependent on python version
This commit is contained in:
Vendored
+6
-1
@@ -1,8 +1,13 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
import sys
|
||||
import multiprocessing
|
||||
import concurrent.futures
|
||||
|
||||
if sys.version_info.major < 3:
|
||||
import concurrent3.futures as concurrent
|
||||
else:
|
||||
import concurrent27.futures as concurrent
|
||||
|
||||
|
||||
def default_n():
|
||||
|
||||
Reference in New Issue
Block a user