Changeset 3299 for WAeUP_SRP/base


Ignore:
Timestamp:
9 Mar 2008, 16:33:32 (17 years ago)
Author:
Henrik Bettermann
Message:

the object id is uploads not upload

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/exportimport.py

    r3277 r3299  
    7979        students = getattr(campus,'students',None)
    8080        accommodation = getattr(campus,'accommodation',None)
    81         upload = getattr(campus,'upload',None)
     81        uploads = getattr(campus,'uploads',None)
    8282        campus.manage_setLocalGroupRoles(groupid='CampusOfficers',
    8383                                         roles=('SectionOfficer',))
     
    105105            accommodation.manage_setLocalGroupRoles(groupid='AccommodationOfficers',
    106106                                         roles=('SectionOfficer',))
    107         if upload is not None:
    108             upload.manage_setLocalGroupRoles(groupid='CampusOfficers',
     107        if uploads is not None:
     108            uploads.manage_setLocalGroupRoles(groupid='UploadOfficers',
    109109                                         roles=('SectionOfficer',))
    110110    members = getattr(site.portal_directories,'members')
     
    136136    importWAeUPTable(site.portal_catalog, '', context,'portal_catalog')
    137137    importWAeUPTable(site.portal_catalog_real, '', context,'portal_catalog_real')
    138    
     138
    139139    site.students_catalog.manage_setLocalGroupRoles(groupid='CampusOfficers',
    140140                                         roles=('SectionOfficer',))
     
    142142                                         roles=('SectionOfficer',))
    143143    site.applicants_catalog.manage_setLocalGroupRoles(groupid='CampusOfficers',
    144                                          roles=('SectionOfficer',))           
     144                                         roles=('SectionOfficer',))
    145145    site.course_results.manage_setLocalGroupRoles(groupid='CampusOfficers',
    146                                          roles=('SectionOfficer',))                                                                       
     146                                         roles=('SectionOfficer',))
    147147
    148148    site.portal_catalog.id = 'portal_catalog'
Note: See TracChangeset for help on using the changeset viewer.