From 923ea6fa1ac20ff94a1d49ac46eee7cf1fc4025c Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Fri, 8 Feb 2008 15:04:56 -0500 Subject: [PATCH] Fix comps issue for older repos. --- Changelog | 3 +++ src/pypungi/gather.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 83e85b9f..c1d26cae 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,6 @@ +* Fri Feb 08 2008 Jesse Keating +- Fix comps mashup to be more lenient with the open/close of - Use createrepo api instead of execing it from the cli - Create different repodata for the unified media, as anaconda no longer diff --git a/src/pypungi/gather.py b/src/pypungi/gather.py index 4a7c47f9..0ed10436 100755 --- a/src/pypungi/gather.py +++ b/src/pypungi/gather.py @@ -391,11 +391,11 @@ class Gather(pypungi.PungiBase): else: compslines = open(groupfile, 'r').readlines() for line in compslines: - if line.startswith(''): + if line.startswith(''): + if line.startswith('