Remove duplicated code.

This check exists twice in the code. Once is good enough for anyone.
This commit is contained in:
Byron Clark 2016-02-08 16:30:10 -07:00
parent d99b8b6d87
commit cf20f48c6a

View File

@ -57,13 +57,6 @@ if HAS_PIP is True:
# pylint: enable=import-error
ver = pip.__version__.split('.')
pip_ver = tuple([int(x) for x in ver if x.isdigit()])
if pip_ver >= (8, 0, 0):
from pip.exceptions import InstallationError
else:
InstallationError = ValueError
logger = logging.getLogger(__name__)
# Define the module's virtual name