This is an automated email from the git hooks/post-receive script.
roptat pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 24aa7b3 import: opam: Fix error on unknown field value.
24aa7b3 is described below
commit 24aa7b3c21309b63cc6e8e18d6417d2cddccf6c6
Author: Julien Lepiller <[email protected]>
AuthorDate: Mon Nov 22 00:16:52 2021 +0100
import: opam: Fix error on unknown field value.
* guix/import/opam.scm (metadata-ref): Return #f if field is present,
but its content is of unknown form.
---
guix/import/opam.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/import/opam.scm b/guix/import/opam.scm
index 0804526..eb384ba 100644
--- a/guix/import/opam.scm
+++ b/guix/import/opam.scm
@@ -230,7 +230,8 @@ path to the repository."
(('list-pat . stuff) stuff)
(('string-pat stuff) stuff)
(('multiline-string stuff) stuff)
- (('dict records ...) records))
+ (('dict records ...) records)
+ (_ #f))
acc))))
#f file))