From e47ca962afadbfd858b604e7b6c6e2fa230d306f Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Fri, 1 Jul 2022 13:13:00 -0700 Subject: [PATCH] missing write function for compose_id --- iso/empanadas/empanadas/util/dnf_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iso/empanadas/empanadas/util/dnf_utils.py b/iso/empanadas/empanadas/util/dnf_utils.py index 681e128..c2243f1 100644 --- a/iso/empanadas/empanadas/util/dnf_utils.py +++ b/iso/empanadas/empanadas/util/dnf_utils.py @@ -981,7 +981,7 @@ class RepoSync: if not os.path.exists(metadata_dir): os.makedirs(metadata_dir, exist_ok=True) - with open(metadata_dir + '/COMPOSE_ID') as f: + with open(metadata_dir + '/COMPOSE_ID', "w+") as f: f.write(self.compose_id) f.close()