[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/10: lint: Use the 'warning' procedure for messages.
From: |
guix-commits |
Subject: |
10/10: lint: Use the 'warning' procedure for messages. |
Date: |
Fri, 19 Jul 2019 19:32:31 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 3d33c93cef67d88bdc9409959f3c1f3857af09cf
Author: Ludovic Courtès <address@hidden>
Date: Sat Jul 20 01:31:38 2019 +0200
lint: Use the 'warning' procedure for messages.
* guix/scripts/lint.scm (emit-warnings): Use 'warning' instead of
'format'.
---
guix/scripts/lint.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm
index 98ee469..ee1c826 100644
--- a/guix/scripts/lint.scm
+++ b/guix/scripts/lint.scm
@@ -46,10 +46,9 @@
(lambda (lint-warning)
(let ((package (lint-warning-package lint-warning))
(loc (lint-warning-location lint-warning)))
- (format (guix-warning-port) "~a: ~a@~a: ~a~%"
- (location->string loc)
- (package-name package) (package-version package)
- (lint-warning-message lint-warning))))
+ (warning loc (G_ "~a@~a: ~a~%")
+ (package-name package) (package-version package)
+ (lint-warning-message lint-warning))))
warnings))
(define (run-checkers package checkers)
- branch master updated (dd9560a -> 3d33c93), guix-commits, 2019/07/19
- 01/10: gnu: python-jupyter-client: Patch file name of 'ip'., guix-commits, 2019/07/19
- 03/10: ui: 'warn-about-load-error' provides hints for unbound variables., guix-commits, 2019/07/19
- 02/10: ui: 'warn-about-load-error' warns about file/module name mismatches., guix-commits, 2019/07/19
- 04/10: gnu: Add emacs-zerodark-theme., guix-commits, 2019/07/19
- 05/10: lint: Update tests to (guix lint) migration., guix-commits, 2019/07/19
- 06/10: lint: 'source' check no longer complains about unavailable mirrors., guix-commits, 2019/07/19
- 08/10: lint: Remove unused imports., guix-commits, 2019/07/19
- 07/10: lint: Add test for 'source'., guix-commits, 2019/07/19
- 10/10: lint: Use the 'warning' procedure for messages.,
guix-commits <=
- 09/10: lint: source: Stop as soon as a valid URL is found., guix-commits, 2019/07/19