mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
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:
parent
2e0b7867fe
commit
bf82f7cbe3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue