diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-12-13 22:20:19 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-12-13 22:20:19 +0200 |
commit | 72809abc9e61eebbc51b8377827109d5f66754cf (patch) | |
tree | fecd71a8084ed201a0ce5f3ab46f945a053a2398 /guix | |
parent | 7016f8db7c00c7dfcf5b3c7167fb79d9737a8da2 (diff) |
build/python: Fix cythonize check phase.
* guix/build/python-build-system.scm (ensure-no-cythonized-files): Use
format when printing the warning.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/build/python-build-system.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build/python-build-system.scm b/guix/build/python-build-system.scm index 2a983741c5..aad86258c7 100644 --- a/guix/build/python-build-system.scm +++ b/guix/build/python-build-system.scm @@ -30,6 +30,7 @@ #:use-module (guix build utils) #:use-module (ice-9 match) #:use-module (ice-9 ftw) + #:use-module (ice-9 format) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:export (%standard-phases @@ -274,7 +275,7 @@ by Cython." (let ((generated-file (string-append (string-drop-right file 3) "c"))) (when (file-exists? generated-file) - (warning (G_ "Possible Cythonized file found: ~a~%") generated-file)))) + (format #t "Possible Cythonized file found: ~a~%" generated-file)))) (find-files "." "\\.pyx$")) #t) |