Changeset 13391 for main/waeup.kwarapoly
- Timestamp:
- 5 Nov 2015, 14:34:22 (9 years ago)
- Location:
- main/waeup.kwarapoly/trunk/src/waeup/kwarapoly
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/utils.py
r13390 r13391 369 369 next_integer = getattr( 370 370 dep, 'next_matric_dict', {}).get(entry_session, 10) 371 372 ############################################# 373 # self-repair, can be removed after a while 374 if next_integer == 2: 375 next_integer == 10 376 dep.next_matric_dict[entry_session] = 10 377 dep._p_changed = True 378 ############################################# 379 371 380 entry_year = entry_session - 100*(entry_session/100) 372 381 matric_number = "%s/%s/%s/%s/%03d" % ( -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/university/tests.py
r12911 r13391 49 49 'code,faculty_code,title,title_prefix,users_with_local_roles,' 50 50 'next_matric_dict\r\n' 51 'dep1,fac1,Unnamed Department,department,[],{2015: 2}\r\n'51 'dep1,fac1,Unnamed Department,department,[],{2015: 11}\r\n' 52 52 ) 53 53 return
Note: See TracChangeset for help on using the changeset viewer.