summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPradyun Gedam <pradyunsg@gmail.com>2018-05-30 02:11:42 +0530
committerPradyun Gedam <pradyunsg@gmail.com>2018-06-07 16:16:51 +0530
commit47d58b8a4941c536221103d578307a06ef590ba0 (patch)
treee2bf4dd4f68e3e79cc0f5f69200d810fa446c872
parent3d516c210cc4560ef841ab83a8efad19d04190b5 (diff)
downloadpip-47d58b8a4941c536221103d578307a06ef590ba0.tar.gz
:art:
-rw-r--r--src/pip/_internal/req/req_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pip/_internal/req/req_install.py b/src/pip/_internal/req/req_install.py
index 312b1b3c3..40082cdc9 100644
--- a/src/pip/_internal/req/req_install.py
+++ b/src/pip/_internal/req/req_install.py
@@ -507,6 +507,7 @@ class InstallRequirement(object):
else:
self.conflicts_with = existing_dist
return True
+
# Things valid for wheels
@property
def is_wheel(self):
@@ -1016,7 +1017,6 @@ class InstallRequirement(object):
return install_args
-
def _strip_postfix(req):
"""
Strip req postfix ( -dev, 0.2, etc )