Changeset 1548
- Timestamp:
- 14 Mar 2007, 20:55:09 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/PatchCPSUserFolderUserFolder.py
r1547 r1548 75 75 76 76 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"): 80 78 break 81 79 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 83 83 sc = getattr(real_object,'study_course',None) 84 84 if sc is None: … … 92 92 fac_id = cert_path[-4] 93 93 dep_id = cert_path[-3] 94 95 96 94 # temporary self-healing function 97 95 # deprecated after reindexing the students_catalog
Note: See TracChangeset for help on using the changeset viewer.