mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Add update_check_modes.txt to stats/
This commit is contained in:
parent
d8054700cc
commit
5f2e1d76c2
1 changed files with 13 additions and 0 deletions
|
|
@ -159,6 +159,19 @@ def main():
|
|||
f.write(rtype + ' ' + str(count) + '\n')
|
||||
f.close()
|
||||
|
||||
# Calculate and write stats for update check modes...
|
||||
ucms = {}
|
||||
for app in metaapps:
|
||||
checkmode = app['Update Check Mode']
|
||||
if checkmode in ucms:
|
||||
ucms[checkmode] += 1;
|
||||
else:
|
||||
ucms[checkmode] = 1
|
||||
f = open('stats/update_check_modes.txt', 'w')
|
||||
for checkmode, count in ucms.iteritems():
|
||||
f.write(checkmode + ' ' + str(count) + '\n')
|
||||
f.close()
|
||||
|
||||
# Calculate and write stats for licenses...
|
||||
licenses = {}
|
||||
for app in metaapps:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue