guix import pypi: Fix a typo in a docstring.

* guix/import/pypi.scm (snake-case): Fix documentation.
This commit is contained in:
Cyril Roelandt 2014-10-16 00:46:15 +02:00
parent a5ffa812b8
commit 68b18aae6a

View file

@ -117,8 +117,8 @@ (define (latest-source-release pypi-package)
(assoc-ref* pypi-package "info" "version")))))
(define (snake-case str)
"Return a downcased version of the string STR where dashes are replaced with
underscores."
"Return a downcased version of the string STR where underscores are replaced
with dashes."
(string-join (string-split (string-downcase str) #\_) "-"))
(define (guix-hash-url url)