guix-commits
[Top][All Lists]
Advanced

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

06/08: refresh: Remove exception catch-all.


From: Ludovic Courtès
Subject: 06/08: refresh: Remove exception catch-all.
Date: Wed, 21 Oct 2015 12:45:34 +0000

civodul pushed a commit to branch master
in repository guix.

commit 577e75058066579bc66037c4ac08f3870520b79a
Author: Ludovic Courtès <address@hidden>
Date:   Wed Oct 21 14:34:57 2015 +0200

    refresh: Remove exception catch-all.
    
    * guix/scripts/refresh.scm (update-package): Remove 'catch #t'.
---
 guix/scripts/refresh.scm |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index bbfdf24..99fdc2c 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -153,12 +153,8 @@ specified with `--select'.\n"))
 KEY-DOWNLOAD specifies a download policy for missing OpenPGP keys; allowed
 values: 'interactive' (default), 'always', and 'never'."
   (let-values (((version tarball)
-                (catch #t
-                  (lambda ()
-                    (package-update store package updaters
-                                    #:key-download key-download))
-                  (lambda _
-                    (values #f #f))))
+                (package-update store package updaters
+                                #:key-download key-download))
                ((loc)
                 (or (package-field-location package 'version)
                     (package-location package))))



reply via email to

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