Changeset 5202 for WAeUP_SRP/trunk/skins
- Timestamp:
- 23 May 2010, 04:26:23 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_utilities/fillMetadata.py
r5200 r5202 36 36 continue 37 37 #from Products.zdb import set_trace;set_trace() 38 marit_stat = per.getContent().marit_stat 38 per_doc = per.getContent() 39 marit_stat = per_doc.marit_stat 39 40 if marit_stat == True: 40 41 ms = 'married' … … 43 44 else: 44 45 ms = 'undefined' 46 fn = per_doc.firstname 47 mn = per_doc.middlename 48 ln = per_doc.lastname 45 49 46 50 clear = getattr(student,'clearance',None) … … 53 57 bd = '' 54 58 55 context.students_catalog.modifyRecord(id = sbrain.id,marit_stat = ms, date_of_birth = bd )59 context.students_catalog.modifyRecord(id = sbrain.id,marit_stat = ms, date_of_birth = bd,firstname = fn, middlename = mn,lastname = ln) 56 60 return 'ready' 57 61
Note: See TracChangeset for help on using the changeset viewer.