Changeset 3094
- Timestamp:
- 3 Feb 2008, 07:46:04 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r3093 r3094 1951 1951 editable_keys = mapping.keys() 1952 1952 if student_id: 1953 student_record = self.students_catalog (id =student_id)1953 student_record = self.students_catalog.getRecordByKey(student_id) 1954 1954 if student_record is None: 1955 1955 return '',"no student with id %s" % student_id … … 2076 2076 for item in items: 2077 2077 #import pdb;pdb.set_trace() 2078 d = {} 2079 for k,l in item.items(): 2080 if k: 2081 k = k.strip() 2082 if l: 2083 l = l.strip() 2084 d[k] = l 2085 item = d 2086 #item = dict((k.strip(),l.strip()) for (k,l) in item.items()) 2078 item = dict((k.strip(),l.strip()) for (k,l) in item.items()) 2087 2079 if start: 2088 2080 start = False
Note: See TracChangeset for help on using the changeset viewer.