~ruther/guix-local

3b2dc9edcda19666623cc62dc3df2235b797f1b9 — Ludovic Courtès 9 years ago 28958b6
upstream: Avoid '_' as a pattern variable in 'match'.

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

M guix/upstream.scm
M guix/upstream.scm => guix/upstream.scm +2 -2
@@ 1,5 1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;;;
;;; 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))