Blob Blame History Raw
commit ad8110649baeb8bb9826c9d55be16c023734493e
Author: Seth Vidal <skvidal@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