[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: weather: Print 0.0% correctly.
From: |
guix-commits |
Subject: |
branch master updated: weather: Print 0.0% correctly. |
Date: |
Sun, 05 Jul 2020 06:45:42 -0400 |
This is an automated email from the git hooks/post-receive script.
arunisaac pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 81a1188 weather: Print 0.0% correctly.
81a1188 is described below
commit 81a11883dc9807e87f8686889ad879b1fb64a4f6
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Sun Jul 5 04:29:46 2020 +0530
weather: Print 0.0% correctly.
* guix/scripts/weather.scm (report-server-coverage): Report 0% coverage as
0.0%, not as .0%.
---
guix/scripts/weather.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/scripts/weather.scm b/guix/scripts/weather.scm
index 475d989..3035ff6 100644
--- a/guix/scripts/weather.scm
+++ b/guix/scripts/weather.scm
@@ -190,7 +190,7 @@ Return the coverage ratio, an exact number between 0 and 1."
narinfos))
(time (+ (time-second time)
(/ (time-nanosecond time) 1e9))))
- (format #t (G_ " ~2,1f% substitutes available (~h out of ~h)~%")
+ (format #t (G_ " ~,1f% substitutes available (~h out of ~h)~%")
(* 100. (/ obtained requested 1.))
obtained requested)
(let ((total (/ (reduce + 0 sizes) MiB)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: weather: Print 0.0% correctly.,
guix-commits <=