[PATCH] cli: Simple text fix to make it more obvious what rpmdiff is doing. BZ 704129.

James Antill james at and.org
Tue Oct 29 22:30:06 UTC 2013


---
 hub/kojihub.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hub/kojihub.py b/hub/kojihub.py
index 6e256c4..9a4dafc 100644
--- a/hub/kojihub.py
+++ b/hub/kojihub.py
@@ -7162,8 +7162,8 @@ def rpmdiff(basepath, rpmlist):
         status = proc.wait()
         if os.WIFSIGNALED(status) or \
                 (os.WEXITSTATUS(status) != 0):
-            raise koji.BuildError, 'mismatch when analyzing %s, rpmdiff output was:\n%s' % \
-                (os.path.basename(first_rpm), output)
+            raise koji.BuildError, 'mismatch when analyzing %s (from multiple arches), rpmdiff output was:\n  1. %s\n  2. %s\n%s' % \
+                (os.path.basename(first_rpm), first_rpm, other_rpm, output)
 
 def importImageInternal(task_id, build_id, imgdata):
     """
-- 
1.7.7.6



More information about the buildsys mailing list