From b78c4a774da7d0fbf0ccf06adeefdce6578406f0 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Sun, 3 Jul 2022 23:50:08 -0700 Subject: [PATCH] reverse for loops --- iso/empanadas/empanadas/util/dnf_utils.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/iso/empanadas/empanadas/util/dnf_utils.py b/iso/empanadas/empanadas/util/dnf_utils.py index ab46555..a40045d 100644 --- a/iso/empanadas/empanadas/util/dnf_utils.py +++ b/iso/empanadas/empanadas/util/dnf_utils.py @@ -1234,8 +1234,8 @@ class RepoSync: if r in self.iso_map['images']: variants_to_tweak.append(r) - for v in variants_to_tweak: - for a in arches_to_tree: + for a in arches_to_tree: + for v in variants_to_tweak: self.log.info( '[' + Color.BOLD + Color.GREEN + 'INFO' + Color.END + '] ' + 'Tweaking treeinfo for ' + a + ' ' + v @@ -1287,9 +1287,6 @@ class RepoSync: ) self.log.error(e) - data.clear() - imagemap.clear() - def run_compose_closeout(self): """ Closes out a compose as file. This ensures kickstart repositories are