Subject: Re: bug#23780: [PATCH] import: pypi: do not fail when 'run_requires' is missing from the metadata.

From: [email-masked] (Ludovic Courtès)
Date: Fri, 17 Jun 2016 17:09:02 +0200

Cyril Roelandt <[email-masked]> 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’.