civodul pushed a commit to branch master
in repository guix.

commit 7c8b7e35d020197cffadec2702438e9900192fc0
Author: Ludovic Courtès <l...@gnu.org>
Date:   Mon Apr 30 15:19:41 2018 +0200

    weather: Fix type error when reporting CI stats.
    
    * guix/scripts/weather.scm (report-server-coverage): Remove 'missing'
    binding above 'queued-subset' call.  Before that 'queued-subset' would
    be called with a number instead of a list.
---
 guix/scripts/weather.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/guix/scripts/weather.scm b/guix/scripts/weather.scm
index 5c934ab..d7c2fbe 100644
--- a/guix/scripts/weather.scm
+++ b/guix/scripts/weather.scm
@@ -208,10 +208,10 @@ unavailable)~%"))
                                   0 queue)))
           (newline)
           (unless (null? missing)
-            (let ((missing (length missing)))
-              (match (queued-subset queue missing)
-                (#f #f)
-                ((= length queued)
+            (match (queued-subset queue missing)
+              (#f #f)
+              ((= length queued)
+               (let ((missing (length missing)))
                  (format #t (G_ "  ~,1f% (~h out of ~h) of the missing items \
 are queued~%")
                          (* 100. (/ queued missing))

Reply via email to