Remove URL reformatter

This commit is contained in:
Dan Ryan
2017-10-04 23:41:24 -04:00
parent fc2bb6b9cc
commit c8db3a501b
+1 -1
View File
@@ -532,7 +532,7 @@ def convert_deps_from_pip(dep):
# Set up this requirement as a proper VCS requirement if it was not
if not req.vcs and req.path.startswith(VCS_LIST):
req.vcs = [vcs for vcs in VCS_LIST if req.path.startswith(vcs)][0]
req.uri = '{0}'.format(req.path) #.replace(':', '/', 1).replace('@', '://', 1)
req.uri = '{0}'.format(req.path)
req.path = None
# Crop off the git+, etc part.