backend/satellite_tools/satsync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4beac141af0f9e543e0dc3259e7e01f3125524d7 Author: Pradeep Kilambi pkilambi@redhat.com Date: Tue Jul 21 20:21:20 2009 -0400
511283 - Package compare between db and cache should see if the db is newer than cache and only then import the content.
diff --git a/backend/satellite_tools/satsync.py b/backend/satellite_tools/satsync.py index 601d131..40458ad 100644 --- a/backend/satellite_tools/satsync.py +++ b/backend/satellite_tools/satsync.py @@ -1004,7 +1004,7 @@ Please contact your RHN representative""" % (generation, sat_cert.generation)) # file is modified too; re-download m_fs_packages.append((package_id, final_path))
- if (l_timestamp == db_timestamp and md5sum == db_md5sum and + if (l_timestamp <= db_timestamp and md5sum == db_md5sum and package_size == db_package_size and final_path == db_path): # Same package return
spacewalk-commits@lists.fedorahosted.org