change greater than to greater equals version 10

This commit is contained in:
Marcel Hoppe
2018-10-06 15:53:26 +02:00
committed by GitHub
parent 4e187b6820
commit 2f7bab8028
+1 -1
View File
@@ -2,7 +2,7 @@ import importlib
import threading
from pip import __version__ as pip_version
if int(pip_version.split('.')[0]) > 10:
if int(pip_version.split('.')[0]) >= 10:
from pip._internal import main as pip_main
else:
from pip import main as pip_main