[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: import: hackage: Fix invalid use of 'leave'.
From: |
Ludovic Courtès |
Subject: |
01/01: import: hackage: Fix invalid use of 'leave'. |
Date: |
Wed, 04 Nov 2015 23:08:51 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 5453de3dd88f28d5b3e7cff96df2c583e57bb23b
Author: Ludovic Courtès <address@hidden>
Date: Wed Nov 4 23:54:12 2015 +0100
import: hackage: Fix invalid use of 'leave'.
Reported by Paul van der Walt <address@hidden>
in <http://bugs.gnu.org/21829>.
* guix/scripts/import/hackage.scm (guix-import-hackage): Add missing
argument in call to 'leave'.
---
guix/scripts/import/hackage.scm | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/guix/scripts/import/hackage.scm b/guix/scripts/import/hackage.scm
index 8c4e640..97d042b 100644
--- a/guix/scripts/import/hackage.scm
+++ b/guix/scripts/import/hackage.scm
@@ -134,9 +134,9 @@ from standard input~%")))))
((package-name)
(run-importer package-name opts
(lambda ()
- (leave
- (_ "failed to download cabal file for package
'~a'~%"))
- package-name)))
+ (leave (_ "failed to download cabal file \
+for package '~a'~%")
+ package-name))))
(()
(leave (_ "too few arguments~%")))
((many ...)