mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 06:52:39 +03:00
Keep known_apks sorted for readable diffs
This commit is contained in:
parent
05e84365ec
commit
10196d04c7
2 changed files with 570 additions and 567 deletions
|
@ -799,8 +799,11 @@ class KnownApks:
|
|||
if not os.path.exists('stats'):
|
||||
os.mkdir('stats')
|
||||
f = open(self.path, 'w')
|
||||
lst = []
|
||||
for apk, app in self.apks.iteritems():
|
||||
f.write(apk + ' ' + app + '\n')
|
||||
lst.append(apk + ' ' + app)
|
||||
for line in sorted(lst):
|
||||
f.write(line + '\n')
|
||||
f.close()
|
||||
|
||||
def recordapk(self, apk, app):
|
||||
|
|
1132
stats/known_apks.txt
1132
stats/known_apks.txt
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue