import: pypi: Fix coding style.

I missed this remark from the review when pushing the last change.

* guix/import/pypi.scm(python->package-name): Replace the trailing '#t'-case
  by a 'else'.
This commit is contained in:
Hartmut Goebel 2022-07-15 21:19:08 +02:00
parent 2e0b7867fe
commit bf82f7cbe3
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -165,7 +165,7 @@ (define (python->package-name name)
((string-prefix? "python-" name) (snake-case name))
((or (string=? "trytond" name)
(string-prefix? "trytond-" name)) (snake-case name))
(#t (string-append "python-" (snake-case name)))))
(else (string-append "python-" (snake-case name)))))
(define (guix-package->pypi-name package)
"Given a Python PACKAGE built from pypi.org, return the name of the