- Timestamp:
- 23 Nov 2007, 21:27:49 (17 years ago)
- Location:
- WAeUP_SRP/base
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTables.py
r2747 r2750 1323 1323 for brain in course_results: 1324 1324 d = {} 1325 if brain.credits.isdigit():1325 if str(brain.credits).isdigit(): 1326 1326 credits += int(brain.credits) 1327 1327 for field in self.schema(): -
WAeUP_SRP/base/WAeUPTool.py
r2747 r2750 1454 1454 res = self.students_catalog.evalAdvancedQuery(query) 1455 1455 if not res: 1456 return '', " No student with %(id_field)s: %(id_key)s" % vars()1456 return '', "no student with %(id_key)s %(id_field)s" % vars() 1457 1457 if id_field != "student_id": 1458 1458 mapping['student_id'] = res[0].id
Note: See TracChangeset for help on using the changeset viewer.