[Python-checkins] Fix variable name copy/paste error in build-installer.py (GH-13038)

Miss Islington (bot) webhook-mailer at python.org
Sun Jun 2 23:36:39 EDT 2019


https://github.com/python/cpython/commit/4a941e69822c042c1ef41ad34e89a6acd436490b
commit: 4a941e69822c042c1ef41ad34e89a6acd436490b
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-06-02T20:36:33-07:00
summary:

Fix variable name copy/paste error in build-installer.py (GH-13038)

(cherry picked from commit d337169156933eaf732566bf29eb968549ada5e8)

Co-authored-by: cclauss <cclauss at me.com>

files:
M Mac/BuildScript/build-installer.py

diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index 2e3a61ec71d1..3ee2fba82688 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -1538,7 +1538,7 @@ def buildDMG():
         print(" -- retrying hdiutil create")
         time.sleep(5)
     else:
-        raise RuntimeError("command failed: %s"%(commandline,))
+        raise RuntimeError("command failed: %s"%(cmd,))
 
     if not os.path.exists(os.path.join(WORKDIR, "mnt")):
         os.mkdir(os.path.join(WORKDIR, "mnt"))



More information about the Python-checkins mailing list