Changeset 1170

Show
Ignore:
Timestamp:
07/22/08 07:13:05
Author:
mylan
Message:

Fixed bug with importing portlet for single selected content object. Bump up version

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qPloneSkinDump/branches/plone_3.0/HISTORY.txt

    r1124 r1170  
     1qPloneSkinDump 0.8.7 
     2 
     3    - fixed bug with importing portlet for single selected content object 
     4 
     5 
    16qPloneSkinDump 0.8.6 
    27 
  • qPloneSkinDump/branches/plone_3.0/utils.py

    r1109 r1170  
    1 import os, re, string, sets, time 
     1import os, re, string, sets, time, types 
    22from zope.app import zapi 
    33from App.config import getConfiguration 
     
    211211        dumpAllPortlets(portal, slot_structure, typesToShow, context_managers) 
    212212    elif dump_policy == 'selection': 
     213        dump_portlets_selection = type(dump_portlets_selection) in types.StringTypes \ 
     214                                      and dump_portlets_selection.split("/") \ 
     215                                      or  dump_portlets_selection 
    213216        for ppath in dump_portlets_selection: 
    214217            obj = portal.restrictedTraverse(ppath) 
  • qPloneSkinDump/branches/plone_3.0/version.txt

    r1124 r1170  
    1 0.8.6 
     10.8.7