guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: upstream: Avoid '_' as a pattern variable in 'match'.


From: Ludovic Courtès
Subject: 02/02: upstream: Avoid '_' as a pattern variable in 'match'.
Date: Tue, 14 Mar 2017 06:56:26 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 3b2dc9edcda19666623cc62dc3df2235b797f1b9
Author: Ludovic Courtès <address@hidden>
Date:   Tue Mar 14 11:19:21 2017 +0100

    upstream: Avoid '_' as a pattern variable in 'match'.
    
    * guix/upstream.scm (lookup-updater): Don't use '_' as a pattern
    variable.
---
 guix/upstream.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/guix/upstream.scm b/guix/upstream.scm
index 2334c4c..a47a52b 100644
--- a/guix/upstream.scm
+++ b/guix/upstream.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ludovic Courtès 
<address@hidden>
+;;; Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès 
<address@hidden>
 ;;; Copyright © 2015 Alex Kost <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -131,7 +131,7 @@ correspond to the same version."
   "Return an updater among UPDATERS that matches PACKAGE, or #f if none of
 them matches."
   (any (match-lambda
-         (($ <upstream-updater> _ _ pred latest)
+         (($ <upstream-updater> name description pred latest)
           (and (pred package) latest)))
        updaters))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]