bug-guix
[Top][All Lists]
Advanced

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

bug#23780: [PATCH] import: pypi: do not fail when 'run_requires' is miss


From: Ludovic Courtès
Subject: bug#23780: [PATCH] import: pypi: do not fail when 'run_requires' is missing from the metadata.
Date: Fri, 17 Jun 2016 17:09:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Cyril Roelandt <address@hidden> skribis:

> * guix/import/pypi.scm (read-wheel-metadata): do not crash when 'run_requires'
> is missing from the metadata.

[...]

> +                          (requirements (if run_requires
> +                                          (hash-ref (list-ref run_requires 0)
> +                                                     "requires")
> +                                          '())))

Please align the ‘if’ branches with the condition.  :-)

Otherwise LGTM, thanks for the quick fix!

Ludo’.





reply via email to

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