[CMF-checkins]
SVN: CMF/branches/CMF-1_5-branch/CMFCore/tests/base/testcase.py
fixed the fix; hope this works now on all platforms
Yvo Schubbe
y.2005- at wcm-solutions.de
Tue Jul 19 07:48:28 EDT 2005
Log message for revision 37330:
fixed the fix; hope this works now on all platforms
Changed:
U CMF/branches/CMF-1_5-branch/CMFCore/tests/base/testcase.py
-=-
Modified: CMF/branches/CMF-1_5-branch/CMFCore/tests/base/testcase.py
===================================================================
--- CMF/branches/CMF-1_5-branch/CMFCore/tests/base/testcase.py 2005-07-19 11:08:33 UTC (rev 37329)
+++ CMF/branches/CMF-1_5-branch/CMFCore/tests/base/testcase.py 2005-07-19 11:47:58 UTC (rev 37330)
@@ -11,7 +11,7 @@
from os import chmod, curdir, mkdir, remove, stat, walk
from os.path import join, abspath, dirname
from shutil import copytree, rmtree
-from stat import S_IWRITE
+from stat import S_IREAD, S_IWRITE
from tempfile import mktemp
from AccessControl.SecurityManagement import newSecurityManager
@@ -225,8 +225,8 @@
self._skinname))
# make sure we have a writable copy
for root, dirs, files in walk(self.tempname):
- for name in dirs + files:
- chmod(join(root, name), S_IWRITE)
+ for name in files:
+ chmod(join(root, name), S_IREAD+S_IWRITE)
# store the skin path name
self.skin_path_name = join(self.tempname,self._skinname,self._layername)
More information about the CMF-checkins
mailing list