add framagit.org to known git repo locations

This commit is contained in:
Izzy 2020-10-13 17:07:37 +02:00
parent 7f53e52aee
commit 261a5cca44
No known key found for this signature in database
GPG Key ID: 5841AA5BBD64591E
1 changed files with 1 additions and 1 deletions

View File

@ -1804,7 +1804,7 @@ def get_app_from_url(url):
app.RepoType = 'git'
app.SourceCode = url
app.IssueTracker = url + '/issues'
elif parsed.netloc == 'gitlab.com':
elif parsed.netloc == 'gitlab.com' or parsed.netloc == 'framagit.org':
# git can be fussy with gitlab URLs unless they end in .git
if url.endswith('.git'):
url = url[:-4]