Changeset 1548


Ignore:
Timestamp:
14 Mar 2007, 20:55:09 (18 years ago)
Author:
Henrik Bettermann
Message:

fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/PatchCPSUserFolderUserFolder.py

    r1547 r1548  
    7575
    7676        if hasattr(real_object,'portal_type') and\
    77                    real_object.portal_type not in ("Student",):
    78                    #real_object.portal_type not in ("Student","StudentClearance","StudentStudyLevel"):
    79                    
     77                   real_object.portal_type not in ("Student","StudentClearance","StudentStudyLevel"):
    8078            break
    8179
    82         # can be replaced by students_catalog values
     80
     81        # can be later simplified by replacing by students_catalog values - Henrik
     82        # getattr works always because of acquisition ?! Henrik
    8383        sc = getattr(real_object,'study_course',None)
    8484        if sc is None:
     
    9292        fac_id = cert_path[-4]
    9393        dep_id = cert_path[-3]
    94 
    95 
    9694        # temporary self-healing function
    9795        # deprecated after reindexing the students_catalog
Note: See TracChangeset for help on using the changeset viewer.