mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-17 10:40:12 +02:00
Find out srclib repo type for stats
This commit is contained in:
parent
f40ec0eaaa
commit
bb867e1b6f
@ -163,7 +163,10 @@ def main():
|
|||||||
if len(app['Repo Type']) == 0:
|
if len(app['Repo Type']) == 0:
|
||||||
rtype = 'none'
|
rtype = 'none'
|
||||||
else:
|
else:
|
||||||
rtype = app['Repo Type']
|
if app['Repo Type'] == 'srclib':
|
||||||
|
rtype = common.getsrclibvcs(app['Repo'])
|
||||||
|
else:
|
||||||
|
rtype = app['Repo Type']
|
||||||
if rtype in repotypes:
|
if rtype in repotypes:
|
||||||
repotypes[rtype] += 1;
|
repotypes[rtype] += 1;
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user