mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Merge branch 'fix_antifeatures' into 'master'
Don't modify app dict when generating v2 antifeatures Closes #1103 See merge request fdroid/fdroidserver!1370
This commit is contained in:
commit
d564ba1fd1
@ -627,7 +627,7 @@ def convert_version(version, app, repodir):
|
|||||||
manifest[en].append({"name": perm[0]})
|
manifest[en].append({"name": perm[0]})
|
||||||
|
|
||||||
# index-v2 has only per-version antifeatures, not per package.
|
# index-v2 has only per-version antifeatures, not per package.
|
||||||
antiFeatures = app.get('AntiFeatures', {})
|
antiFeatures = app.get('AntiFeatures', {}).copy()
|
||||||
for name, descdict in version.get('antiFeatures', dict()).items():
|
for name, descdict in version.get('antiFeatures', dict()).items():
|
||||||
antiFeatures[name] = descdict
|
antiFeatures[name] = descdict
|
||||||
if antiFeatures:
|
if antiFeatures:
|
||||||
|
Loading…
Reference in New Issue
Block a user