Changeset 2708 for WAeUP_SRP/base
- Timestamp:
- 19 Nov 2007, 08:33:14 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/PatchCPSUserFolderUserFolder.py
r2696 r2708 103 103 st_entry = res[0] 104 104 105 if real_object.portal_type in ("StudentStudyLevel"):105 if real_object.portal_type == "StudentStudyLevel": 106 106 certificate_obj = getCertificateObject(self,st_entry) 107 107 if certificate_obj is None: … … 112 112 else: 113 113 object = real_object.aq_parent 114 if real_object.portal_type == "StudentStudyLevel": 115 level = object.getId() 114 level = object.getId() 116 115 context_obj = getattr(certificate_obj,level,None) 117 116 if context_obj is None:
Note: See TracChangeset for help on using the changeset viewer.