mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-20 13:50:12 +01:00
import: fix bitbucket import
repo type can be found on main url, not under /src
This commit is contained in:
parent
5567182629
commit
1c5dccb413
@ -133,7 +133,7 @@ def get_metadata_from_url(app, url):
|
||||
app.SourceCode = url + '/src'
|
||||
app.IssueTracker = url + '/issues'
|
||||
# Figure out the repo type and adddress...
|
||||
repotype, repo = getrepofrompage(app.SourceCode)
|
||||
repotype, repo = getrepofrompage(url)
|
||||
if not repotype:
|
||||
raise FDroidException("Unable to determine vcs type. " + repo)
|
||||
elif url.startswith('https://') and url.endswith('.git'):
|
||||
|
Loading…
Reference in New Issue
Block a user