--- Begin Message ---
Subject: |
[PATCH] http-client: Send redirection messages to stderr. |
Date: |
Thu, 10 May 2018 16:17:23 +0200 |
* guix/http-client.scm (http-fetch): Use CURRENT-ERROR-PORT instead of default
output.
---
guix/http-client.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/http-client.scm b/guix/http-client.scm
index e8a2a23fc..3b34d4ffb 100644
--- a/guix/http-client.scm
+++ b/guix/http-client.scm
@@ -114,7 +114,7 @@ Raise an '&http-get-error' condition if downloading fails."
308) ; permanent redirection
(let ((uri (resolve-uri-reference (response-location resp) uri)))
(close-port port)
- (format #t (G_ "following redirection to `~a'...~%")
+ (format (current-error-port) (G_ "following redirection to
`~a'...~%")
(uri->string uri))
(loop uri)))
(else
--
2.17.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#31402] [PATCH] http-client: Send redirection messages to stderr. |
Date: |
Sat, 26 May 2018 17:07:12 +0200 |
User-agent: |
Notmuch/0.26.2 (https://notmuchmail.org) Emacs/25.3.1 (x86_64-pc-linux-gnu) |
address@hidden (Ludovic Courtès) writes:
> Marius Bakke <address@hidden> skribis:
>
>> * guix/http-client.scm (http-fetch): Use CURRENT-ERROR-PORT instead of
>> default
>> output.
>
> LGTM, thanks!
Pushed as 9572d2b4820c7d916613f2e0031c892a71f5a966. Thanks for checking!
signature.asc
Description: PGP signature
--- End Message ---