Merge tag 'v0.10.4'
* tag 'v0.10.4':
Fix Debian #846866 (cloning URLs with a trailing /)
Leandro Lucarella
7 years ago
849 | 849 | repo = config.username + '/' + repo |
850 | 850 | # Get just the owner/repo form from the full URL |
851 | 851 | 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:]) | |
853 | 853 | return (urltype, proj) |
854 | 854 | |
855 | 855 | @classmethod |