Changeset 715
- Timestamp:
- 17 Oct 2006, 14:47:08 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Academics.py
r691 r715 24 24 i_home = Globals.INSTANCE_HOME 25 25 26 def makeCertificateCode(code): 26 def makeCertificateCode(code): ###( 27 27 code = code.replace('.','') 28 28 code = code.replace('(','') … … 32 32 code = code.replace('_','') 33 33 return code 34 35 ###) 34 36 35 37 class AcademicsFolder(CPSDocument): ###( … … 345 347 "core_or_elective", 346 348 ) 347 format = ' '.join(['%%(%s)s' % fn for fn in fields])349 format = ', '.join(['"%%(%s)s"' % fn for fn in fields]) 348 350 try: 349 351 cert_courses = csv.DictReader(open("%s/import/%s.csv" % (i_home,name),"rb"))
Note: See TracChangeset for help on using the changeset viewer.