diff --git a/pkglistgen/tool.py b/pkglistgen/tool.py index ac272466c..cf0071916 100644 --- a/pkglistgen/tool.py +++ b/pkglistgen/tool.py @@ -138,7 +138,6 @@ def write_group_stubs(self): def write_productcompose(self): self._check_supplements() - summary = dict() archs = ['*'] + self.all_architectures # a single file covering all builds via multibuild flavors with open(os.path.join(self.productcompose_dir, 'default.productcompose'), 'a') as opfh: @@ -178,17 +177,13 @@ def write_productcompose(self): for included_arch in self.all_architectures: opfh.write(' - ' + f + '_' + included_arch + '\n') - return summary - def write_all_groups(self): self._check_supplements() - summary = dict() archs = ['*'] + self.all_architectures for name in self.groups: group = self.groups[name] if not group.solved: continue - summary[name] = group.summary() fn = f'{group.name}.group' with open(os.path.join(self.output_dir, fn), 'w') as fh: comment = group.comment @@ -200,6 +195,15 @@ def write_all_groups(self): x = re.sub(r'\s*