add copy function thanks to neil

This commit is contained in:
Louis Abel 2022-05-26 14:46:43 -07:00
parent 8822fe2657
commit 55870075ac
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -383,7 +383,7 @@ class RepoSync:
for r in repos_to_sync: for r in repos_to_sync:
entry_name_list = [] entry_name_list = []
repo_name = r repo_name = r
arch_sync = arches_to_sync arch_sync = arches_to_sync.copy()
if r in self.repo_renames: if r in self.repo_renames:
repo_name = self.repo_renames[r] repo_name = self.repo_renames[r]