Ignore:
Timestamp:
22 Jun 2006, 18:38:04 (18 years ago)
Author:
lregebro
Message:

Profiles that work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/exportimport.py

    r260 r263  
    489489
    490490def setupStructure(site,context): ###(
    491     sections = getattr(site,'sections')
    492     portal = getattr(sections,'uniportal',None)
     491    portal = getattr(site,'uniportal',None)
    493492    if portal is None:
    494         sections.invokeFactory('University','uniportal')
     493        site.invokeFactory('University','uniportal')
    495494        portal = getattr(site,'uniportal',None)
    496495        portal.getContent().edit(mapping={'Title':SRPP_TITLE})
Note: See TracChangeset for help on using the changeset viewer.