]> granicus.if.org Git - python/commit
If a resource file cannot be decoded because the directory is readonly
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 25 Feb 2003 23:02:03 +0000 (23:02 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 25 Feb 2003 23:02:03 +0000 (23:02 +0000)
commitcba861e5e3e6fde8e3e9d17cf1a8f2a3e0f7b65a
tree64c98c800a77aa9d72d102444fc217d3a63b7e54
parentade626464d1feef2473f7af262e39e7689d8fbb2
If a resource file cannot be decoded because the directory is readonly
create a temporary file. This fixes #688011.

Got rid of the install() method in macresource, and replaced it with
a resource_filename() method which will optionally decode a given resourcefile
(which may be applesingle-encoded) and return the real resourcefile.

Use this new method in buildtools to copy the correct resource file to
the bundle. This fixes #688007.
Lib/plat-mac/buildtools.py
Lib/plat-mac/macresource.py