gnu-maintenance: Do not error when there are no candidates.
Fixes <https://issues.guix.gnu.org/65773>. * guix/gnu-maintenance.scm (rewrite-url): Do not error when there are no candidates. This may well be possible, depending on the site.
This commit is contained in:
parent
0aec2c10c0
commit
87dab3e36b
@ -600,7 +600,7 @@ rewritten to something like
|
||||
links)))
|
||||
;; Retrieve the item having the largest version.
|
||||
(if (null? candidates)
|
||||
(error "no candidates found in rewrite-url")
|
||||
parents
|
||||
(cons (cdr (first (sort candidates
|
||||
(lambda (x y)
|
||||
(version>? (car x)
|
||||
|
Loading…
Reference in New Issue
Block a user