chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6b79ed
)
sort antiFeatures list in index-v1.json
author
Michael Pöhn
<michael.poehn@fsfe.org>
Wed, 16 Aug 2017 03:46:32 +0000
(
05:46
+0200)
committer
Michael Pöhn
<michael.poehn@fsfe.org>
Tue, 26 Sep 2017 12:12:53 +0000
(14:12 +0200)
fdroidserver/index.py
patch
|
blob
|
history
diff --git
a/fdroidserver/index.py
b/fdroidserver/index.py
index 3ff990a9c2988fd5580212aa867e27f5ef315d7f..7fea41b6d0669ca6f408de65012c0f66551691d5 100644
(file)
--- a/
fdroidserver/index.py
+++ b/
fdroidserver/index.py
@@
-163,7
+163,7
@@
def make_v1(apps, packages, repodir, repodict, requestsdict, fdroid_signing_key_
def _index_encoder_default(obj):
if isinstance(obj, set):
- return
list(obj
)
+ return
sorted(list(obj)
)
if isinstance(obj, datetime):
return int(obj.timestamp() * 1000) # Java expects milliseconds
raise TypeError(repr(obj) + " is not JSON serializable")