Fix source naming

Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Dan Ryan
2018-10-10 11:27:44 -04:00
parent a31f0c34a3
commit 3ee8e1159a
+1 -1
View File
@@ -824,7 +824,7 @@ class Project(object):
self.write_toml(p)
def src_name_from_url(self, index_url):
name, _, tld_guess = six.moves.urllib.parse.urlsplit(index).netloc.rpartition(
name, _, tld_guess = six.moves.urllib.parse.urlsplit(index_url).netloc.rpartition(
"."
)
src_name = name.replace(".", "")