me
/
guix
Archived
1
0
Fork 0

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
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
1 changed files with 1 additions and 1 deletions

View File

@ -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