summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/scripts/import/pypi.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/guix/scripts/import/pypi.scm b/guix/scripts/import/pypi.scm
index a36065e5cf..1e03843840 100644
--- a/guix/scripts/import/pypi.scm
+++ b/guix/scripts/import/pypi.scm
@@ -84,4 +84,8 @@ Import and convert the PyPI package for PACKAGE-NAME.\n"))
          (unless sexp
            (leave (_ "failed to download meta-data for package '~a'~%")
                   package-name))
-         sexp)))))
+         sexp))
+      (()
+       (leave (_ "too few arguments~%")))
+      ((many ...)
+       (leave (_ "too many arguments~%"))))))