1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

Support https://code.google.com in fdroid import

This commit is contained in:
Ciaran Gultnieks 2014-05-15 10:26:35 +01:00
parent 946e79f2ce
commit d104f2e1fb

View File

@ -164,7 +164,8 @@ def main():
if not repotype: if not repotype:
logging.info("Unable to determine vcs type. " + repo) logging.info("Unable to determine vcs type. " + repo)
sys.exit(1) sys.exit(1)
elif url.startswith('http://code.google.com/p/'): elif (url.startswith('http://code.google.com/p/') or
url.startswith('https://code.google.com/p/')):
if not url.endswith('/'): if not url.endswith('/'):
url += '/' url += '/'
projecttype = 'googlecode' projecttype = 'googlecode'