[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: import: pypi: Fix coding style.
From: |
guix-commits |
Subject: |
branch master updated: import: pypi: Fix coding style. |
Date: |
Fri, 15 Jul 2022 15:22:19 -0400 |
This is an automated email from the git hooks/post-receive script.
htgoebel pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new bf82f7cbe3 import: pypi: Fix coding style.
bf82f7cbe3 is described below
commit bf82f7cbe3067ea6a638655b65f8cfff7b7fd940
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Fri Jul 15 21:19:08 2022 +0200
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'.
---
guix/import/pypi.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: import: pypi: Fix coding style.,
guix-commits <=