setup.py
changeset 42074 59b1bdf85b1a
parent 42065 fecbd93a5f08
child 42075 456c37433c43
--- a/setup.py	Mon Apr 01 22:11:54 2019 -0700
+++ b/setup.py	Thu Apr 04 15:40:48 2019 +0200
@@ -1090,7 +1090,8 @@
         except subprocess.CalledProcessError:
             raise RustCompilationError(
                 "Cargo failed. Working directory: %r, "
-                "command: %r, environment: %r" % (self.rustsrcdir, cmd, env))
+                "command: %r, environment: %r"
+                % (self.rustsrcdir, cargocmd, env))
 
 class RustEnhancedExtension(RustExtension):
     """A C Extension, conditionally enhanced with Rust code.