From c8b74060949ac387bba13bd53f05aa8668dd0f99 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Tue, 3 Apr 2012 20:50:36 +0100 Subject: [PATCH] Tolerate trailing / on github import --- fdroidserver/import.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fdroidserver/import.py b/fdroidserver/import.py index 485301ff..6bf1516c 100644 --- a/fdroidserver/import.py +++ b/fdroidserver/import.py @@ -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' -- 2.30.2