Changeset 717 for WAeUP_SRP/trunk
- Timestamp:
- 17 Oct 2006, 17:47:17 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Academics.py
r715 r717 107 107 "bank_code", 108 108 ) 109 format = ' '.join(['%%(%s)s' % fn for fn in fields])109 format = ','.join(['"%%(%s)s"' % fn for fn in fields]) 110 110 for faculty in faculties: 111 111 processing = "processing %s" % format … … 141 141 "faculty_code", 142 142 ) 143 format = ' '.join(['%%(%s)s' % fn for fn in fields])143 format = ','.join(['"%%(%s)s"' % fn for fn in fields]) 144 144 try: 145 145 deps = csv.DictReader(open("%s/import/%s.csv" % (i_home,name),"rb")) … … 202 202 "session", 203 203 ) 204 format = ' '.join(['%%(%s)s' % fn for fn in fields])204 format = ','.join(['"%%(%s)s"' % fn for fn in fields]) 205 205 try: 206 206 courses = csv.DictReader(open("%s/import/%s.csv" % (i_home,name),"rb")) … … 274 274 "admin_status", 275 275 ) 276 format = ' '.join(['%%(%s)s' % fn for fn in fields])276 format = ','.join(['"%%(%s)s"' % fn for fn in fields]) 277 277 try: 278 278 courses = csv.DictReader(open("%s/import/%s.csv" % (i_home,name),"rb")) … … 347 347 "core_or_elective", 348 348 ) 349 format = ', 349 format = ','.join(['"%%(%s)s"' % fn for fn in fields]) 350 350 try: 351 351 cert_courses = csv.DictReader(open("%s/import/%s.csv" % (i_home,name),"rb"))
Note: See TracChangeset for help on using the changeset viewer.