From ad8110649baeb8bb9826c9d55be16c023734493e Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Mon, 5 Oct 2009 16:13:48 -0400 Subject: [PATCH] apply fix for https://bugzilla.redhat.com/show_bug.cgi?id=527259 make sure we're not only testing the first pkg. Test all of them until we find one that is newer. --- createrepo/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/createrepo/__init__.py b/createrepo/__init__.py index 4601a15..77a03ee 100644 --- a/createrepo/__init__.py +++ b/createrepo/__init__.py @@ -298,8 +298,8 @@ class MetaDataGenerator: self.callback.errorlog(_('cannot get to file: %s') % fn) if os.path.getctime(fn) > self.conf.mdtimestamp: return False - else: - return True + + return True return False -- 2.34.1