mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 14:30:30 +03:00
Don't modify app dict when generating v2 antifeatures
Regression of: 061ca38a
Closes: #1103
This commit is contained in:
parent
3f7e01b909
commit
2ee3cccb60
1 changed files with 1 additions and 1 deletions
|
|
@ -627,7 +627,7 @@ def convert_version(version, app, repodir):
|
|||
manifest[en].append({"name": perm[0]})
|
||||
|
||||
# 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():
|
||||
antiFeatures[name] = descdict
|
||||
if antiFeatures:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue