aboutsummaryrefslogtreecommitdiff
path: root/guix/scripts
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-10-21 14:34:57 +0200
committerLudovic Courtès <ludo@gnu.org>2015-10-21 14:44:41 +0200
commit577e75058066579bc66037c4ac08f3870520b79a (patch)
tree4158a1cf11ccf0ff79a8cd4e9623c1e47aaedaea /guix/scripts
parentbcb571cba499c29556d36f17554253d285d4d578 (diff)
downloadgnu-guix-577e75058066579bc66037c4ac08f3870520b79a.tar
gnu-guix-577e75058066579bc66037c4ac08f3870520b79a.tar.gz
refresh: Remove exception catch-all.
* guix/scripts/refresh.scm (update-package): Remove 'catch #t'.
Diffstat (limited to 'guix/scripts')
-rw-r--r--guix/scripts/refresh.scm8
1 files changed, 2 insertions, 6 deletions
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index bbfdf240d0..99fdc2ca65 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))))