summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/buildtools.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-mac/buildtools.py')
-rw-r--r--Lib/plat-mac/buildtools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/buildtools.py b/Lib/plat-mac/buildtools.py
index d2b53b3..62c456c 100644
--- a/Lib/plat-mac/buildtools.py
+++ b/Lib/plat-mac/buildtools.py
@@ -164,7 +164,7 @@ def process_common(template, progress, code, rsrcname, destname, is_update,
output = Res.FSOpenResourceFile(destname, RESOURCE_FORK_NAME, WRITE)
except MacOS.Error:
destdir, destfile = os.path.split(destname)
- Res.FSCreateResourceFile(destdir, unicode(destfile), RESOURCE_FORK_NAME)
+ Res.FSCreateResourceFile(destdir, str(destfile), RESOURCE_FORK_NAME)
output = Res.FSOpenResourceFile(destname, RESOURCE_FORK_NAME, WRITE)
# Copy the resources from the target specific resource template, if any