From fff41dc8f5bca08a0660df8cee0dc37518950e6a Mon Sep 17 00:00:00 2001 From: Jiri Kyjovsky Date: Wed, 12 Apr 2023 20:55:47 +0200 Subject: [PATCH] fix typo --- alpa/repository/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpa/repository/base.py b/alpa/repository/base.py index c8dd6a8..64d25ca 100644 --- a/alpa/repository/base.py +++ b/alpa/repository/base.py @@ -271,7 +271,7 @@ def _parse_reponame_from_url(url: str) -> str: split = without_git_suffix.split("/") return f"{split[-2]}/{split[-1]}" - return url.split(":")[-1] + return without_git_suffix.split(":")[-1] def full_reponame(self) -> str: logger.debug(f"Trying to find {self.remote_name} in {self.remotes}")