Codebase list git-hub / d33e2a7
Merge tag 'v0.10.4' * tag 'v0.10.4': Fix Debian #846866 (cloning URLs with a trailing /) Leandro Lucarella 7 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
849849 repo = config.username + '/' + repo
850850 # Get just the owner/repo form from the full URL
851851 url = urlparse.urlsplit(repo)
852 proj = '/'.join(url.path.split(':')[-1:][0].split('/')[-2:])
852 proj = '/'.join(url.path.split(':')[-1:][0].strip('/').split('/')[-2:])
853853 return (urltype, proj)
854854
855855 @classmethod