[CMF-checkins] CVS: CMF - SkinsContainer.py:1.2

Martijn Pieters mj@digiciool.com
Tue, 13 Mar 2001 17:20:39 -0500 (EST)


Update of /cvs-repository/CMF/CMFCore
In directory korak:/tmp/cvs-serv5631/CMFCore

Modified Files:
	SkinsContainer.py 
Log Message:
Fix for PTK(205)[]; remove all direct references to the skins' Images
Folder, promoting it to a regular skin path object.

Existing CMF 1.0b1 portals will have to add 'Images' to their skin paths; a
Python Script that automates this is included.



--- Updated File SkinsContainer.py in package CMF --
--- SkinsContainer.py	2001/02/23 14:24:11	1.1
+++ SkinsContainer.py	2001/03/13 22:20:08	1.2
@@ -147,8 +147,7 @@
                 if partob is None:
                     # Not found.  Cancel the search.
                     if raise_exc:
-                        raise SkinPathError('Name not found: %s' %
-                                            join(skinpath + [p], '/'))
+                        raise SkinPathError('Name not found: %s' % part_path)
                     break
             if partob is not None:
                 # Now partob has containment and context.