summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/bundlebuilder.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-09-03 07:27:49 (GMT)
committerGeorg Brandl <georg@python.org>2007-09-03 07:27:49 (GMT)
commitc76473d887c446dd9693f6549a59bff53b4d5ef6 (patch)
tree023b4d4cf56a080655082277f606efacaa0bcf99 /Lib/plat-mac/bundlebuilder.py
parente4ac7504c9fb005d81c710bff40777dc170694a8 (diff)
downloadcpython-c76473d887c446dd9693f6549a59bff53b4d5ef6.zip
cpython-c76473d887c446dd9693f6549a59bff53b4d5ef6.tar.gz
cpython-c76473d887c446dd9693f6549a59bff53b4d5ef6.tar.bz2
Fix Mac build, patch #1091 by Humberto Diogenes.
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 4fee311..bb40653 100755
--- a/Lib/plat-mac/bundlebuilder.py
+++ b/Lib/plat-mac/bundlebuilder.py
@@ -180,7 +180,7 @@ class BundleBuilder(Defaults):
assert len(self.type) == len(self.creator) == 4, \
"type and creator must be 4-byte strings."
pkginfo = pathjoin(contents, "PkgInfo")
- f = open(pkginfo, "wb")
+ f = open(pkginfo, "w")
f.write(self.type + self.creator)
f.close()
#