1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 23:23:27 +02:00

Tolerate trailing / on github import

This commit is contained in:
Ciaran Gultnieks 2012-04-03 20:50:36 +01:00
parent 5c35687051
commit c8b7406094

View File

@ -58,6 +58,8 @@ def main():
issuetracker = None
license = None
if url.startswith('https://github.com'):
if url.endswith('/'):
url = url[:-1]
projecttype = 'github'
repo = url + '.git'
repotype = 'git'