[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: lint: Display address@hidden
From: |
Ludovic Courtès |
Subject: |
02/02: lint: Display address@hidden |
Date: |
Sat, 21 Jan 2017 15:43:31 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit ac080e296e161e5145a7db75f7685b47c755c827
Author: Ludovic Courtès <address@hidden>
Date: Sat Jan 21 16:42:31 2017 +0100
lint: Display address@hidden
* guix/scripts/lint.scm (run-checkers): Remove 'name' variable. Display
address@hidden instead of PACKAGE-VERSION.
---
guix/scripts/lint.scm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm
index 9b99178..afc1369 100644
--- a/guix/scripts/lint.scm
+++ b/guix/scripts/lint.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Cyril Roelandt <address@hidden>
;;; Copyright © 2014, 2015 Eric Bavier <address@hidden>
-;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <address@hidden>
+;;; Copyright © 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <address@hidden>
;;; Copyright © 2015, 2016 Mathieu Lirzin <address@hidden>
;;; Copyright © 2016 Danny Milosavljevic <address@hidden>
;;; Copyright © 2016 Hartmut Goebel <address@hidden>
@@ -959,12 +959,12 @@ or a list thereof")
(define* (run-checkers package #:optional (checkers %checkers))
"Run the given CHECKERS on PACKAGE."
- (let ((tty? (isatty? (current-error-port)))
- (name (package-full-name package)))
+ (let ((tty? (isatty? (current-error-port))))
(for-each (lambda (checker)
(when tty?
- (format (current-error-port) "checking ~a [~a]...\x1b[K\r"
- name (lint-checker-name checker))
+ (format (current-error-port) "checking address@hidden
[~a]...\x1b[K\r"
+ (package-name package) (package-version package)
+ (lint-checker-name checker))
(force-output (current-error-port)))
((lint-checker-check checker) package))
checkers)