summaryrefslogtreecommitdiff
path: root/guix/import
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2022-07-15 21:19:08 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2022-07-15 21:19:08 +0200
commitbf82f7cbe3067ea6a638655b65f8cfff7b7fd940 (patch)
tree29f8e7f31c0c0b17c2e97066733a0d22329c2098 /guix/import
parent2e0b7867fe89fcfb0523a85635ecc3e1f9484fcd (diff)
downloadguix-patches-bf82f7cbe3067ea6a638655b65f8cfff7b7fd940.tar
guix-patches-bf82f7cbe3067ea6a638655b65f8cfff7b7fd940.tar.gz
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'.
Diffstat (limited to 'guix/import')
-rw-r--r--guix/import/pypi.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index 2cb270620e..4760fc3dae 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -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