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'.master
parent
2e0b7867fe
commit
bf82f7cbe3
|
@ -165,7 +165,7 @@ package."
|
|||
((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
|
||||
|
|
Reference in New Issue