From 2ee3cccb60bebc26d348ed594511eca5653ea436 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Thu, 1 Jun 2023 17:38:49 +0200 Subject: [PATCH] Don't modify app dict when generating v2 antifeatures Regression of: 061ca38a Closes: #1103 --- fdroidserver/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/index.py b/fdroidserver/index.py index eb05fde6..f0b12406 100644 --- a/fdroidserver/index.py +++ b/fdroidserver/index.py @@ -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: