Blame SOURCES/BZ-1389816-include-repoid-in-timestamp-error.patch

5e9bef
commit 5a836edd592fc0adf2e1bb3883387e48cf77f548
5e9bef
Author: Michal Domonkos <mdomonko@redhat.com>
5e9bef
Date:   Mon Jan 2 12:40:46 2017 +0100
5e9bef
5e9bef
    Include repo-id in repomd.xml timestamp error. BZ 1389816
5e9bef
5e9bef
diff --git a/yum/yumRepo.py b/yum/yumRepo.py
5e9bef
index c6bed82..419545d 100644
5e9bef
--- a/yum/yumRepo.py
5e9bef
+++ b/yum/yumRepo.py
5e9bef
@@ -1378,10 +1378,11 @@ Insufficient space in download directory %s
5e9bef
 
5e9bef
         if (self.timestamp_check and
5e9bef
             old_repo_XML.timestamp > self.repoXML.timestamp):
5e9bef
-            logger.warning("Not using downloaded repomd.xml because it is "
5e9bef
+            logger.warning("Not using downloaded %s/repomd.xml because it is "
5e9bef
                            "older than what we have:\n"
5e9bef
                            "  Current   : %s\n  Downloaded: %s" %
5e9bef
-                           (time.ctime(old_repo_XML.timestamp),
5e9bef
+                           (self.id,
5e9bef
+                            time.ctime(old_repo_XML.timestamp),
5e9bef
                             time.ctime(self.repoXML.timestamp)))
5e9bef
             return False
5e9bef
         return True