From 55870075ac69d438b6fcb0ab1b6a85b53c6e8999 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Thu, 26 May 2022 14:46:43 -0700 Subject: [PATCH] add copy function thanks to neil --- iso/py/util/dnf_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iso/py/util/dnf_utils.py b/iso/py/util/dnf_utils.py index 959843e..2c7cf39 100644 --- a/iso/py/util/dnf_utils.py +++ b/iso/py/util/dnf_utils.py @@ -383,7 +383,7 @@ class RepoSync: for r in repos_to_sync: entry_name_list = [] repo_name = r - arch_sync = arches_to_sync + arch_sync = arches_to_sync.copy() if r in self.repo_renames: repo_name = self.repo_renames[r]