emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#42206: closed ([PATCH] import: pypi: Handle 'null instead of #nil.)


From: GNU bug Tracking System
Subject: bug#42206: closed ([PATCH] import: pypi: Handle 'null instead of #nil.)
Date: Sun, 05 Jul 2020 10:43:02 +0000

Your message dated Sun, 05 Jul 2020 16:12:55 +0530
with message-id <87y2nytf80.fsf@systemreboot.net>
and subject line Re: [bug#42206] [PATCH] import: pypi: Handle 'null instead of 
#nil.
has caused the debbugs.gnu.org bug report #42206,
regarding [PATCH] import: pypi: Handle 'null instead of #nil.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
42206: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42206
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] import: pypi: Handle 'null instead of #nil. Date: Sun, 5 Jul 2020 04:11:45 +0530
* guix/import/pypi.scm (non-empty-string-or-false): guile-json now returns
'null instead of #nil for null JSON values. Handle it.
---
 guix/import/pypi.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index b20c2300f6..a2b5d995ef 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 ;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
+;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -63,7 +64,7 @@
   (match-lambda
     ("" #f)
     ((? string? str) str)
-    ((or #nil #f) #f)))
+    ((or 'null #f) #f)))
 
 ;; PyPI project.
 (define-json-mapping <pypi-project> make-pypi-project pypi-project?
-- 
2.26.2




--- End Message ---
--- Begin Message --- Subject: Re: [bug#42206] [PATCH] import: pypi: Handle 'null instead of #nil. Date: Sun, 05 Jul 2020 16:12:55 +0530
Pushed to master, thanks!

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

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