[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:39:41 EDT 2019


https://github.com/python/cpython/commit/74bede0d503d0508e9590f4ad65ee48b0ab93db6
commit: 74bede0d503d0508e9590f4ad65ee48b0ab93db6
branch: 2.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-06-02T20:39:38-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 74d1e84f4a9b..bf038797c5e9 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -1553,7 +1553,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