summaryrefslogtreecommitdiff
path: root/Lib/plat-mac/bundlebuilder.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-06 23:54:43 +0000
committerGeorg Brandl <georg@python.org>2010-02-06 23:54:43 +0000
commit1f6176e794a2600a48ca6a3e78b6e49c0577177f (patch)
treed936700c13e8d65c4f2f48d48ca958da50dcf941 /Lib/plat-mac/bundlebuilder.py
parent7e1902bced615e3a1a88f01c5fd899602301043a (diff)
downloadcpython-git-1f6176e794a2600a48ca6a3e78b6e49c0577177f.tar.gz
Fix some name errors in Mac modules.
Diffstat (limited to 'Lib/plat-mac/bundlebuilder.py')
-rwxr-xr-xLib/plat-mac/bundlebuilder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py
index 7a710510f3..d13403c4b3 100755
--- a/Lib/plat-mac/bundlebuilder.py
+++ b/Lib/plat-mac/bundlebuilder.py
@@ -432,7 +432,7 @@ class AppBuilder(BundleBuilder):
pass
elif self.mainprogram is not None:
self.name = os.path.splitext(os.path.basename(self.mainprogram))[0]
- elif executable is not None:
+ elif self.executable is not None:
self.name = os.path.splitext(os.path.basename(self.executable))[0]
if self.name[-4:] != ".app":
self.name += ".app"