[Rpm-metadata] createrepo/__init__.py
skvidal at osuosl.org
skvidal at osuosl.org
Mon Oct 5 20:14:54 UTC 2009
createrepo/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ad8110649baeb8bb9826c9d55be16c023734493e
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Mon Oct 5 16:13:48 2009 -0400
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.
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
More information about the Rpm-metadata
mailing list