1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00

Find out srclib repo type for stats

This commit is contained in:
Daniel Martí 2013-05-24 23:52:14 +02:00
parent f40ec0eaaa
commit bb867e1b6f

View File

@ -163,7 +163,10 @@ def main():
if len(app['Repo Type']) == 0:
rtype = 'none'
else:
rtype = app['Repo Type']
if app['Repo Type'] == 'srclib':
rtype = common.getsrclibvcs(app['Repo'])
else:
rtype = app['Repo Type']
if rtype in repotypes:
repotypes[rtype] += 1;
else: