Changeset 638
- Timestamp:
- 11/17/06 13:30:42
- Files:
-
- qPloneComments/trunk/Extensions/Install.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
qPloneComments/trunk/Extensions/Install.py
r637 r638 120 120 # Remove skin 121 121 for skinName in skinstool.getSkinSelections(): 122 path = skinstool.getSkinPath(skinName) 123 path = [i.strip() for i in path.split(',')] 124 if SKIN_NAME in path: 125 path.remove(SKIN_NAME) 126 path = ','.join(path) 127 skinstool.addSkinSelection(skinName, path) 122 old_path = skinstool.getSkinPath(skinName) 123 old_path = [i.strip() for i in old_path.split(',')] 124 path = [] 125 for p in old_path: 126 if not p.startswith(SKIN_NAME): 127 path.append(p) 128 path = ','.join(path) 129 skinstool.addSkinSelection(skinName, path) 130 128 131 # Remove configlet 129 132 controlpanel_tool = getToolByName(self, 'portal_controlpanel')
