- Timestamp:
- 10 Feb 2008, 07:47:38 (17 years ago)
- Location:
- WAeUP_SRP
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r3135 r3139 2078 2078 logger.error(em) 2079 2079 return em 2080 pending_fn = "%s/import/%s _pending.csv" % (i_home,name)2080 pending_fn = "%s/import/%ss_pending.csv" % (i_home,name) 2081 2081 if pending_only: 2082 2082 import_source_fn = pending_fn 2083 imported_fn = "%s/import/%s _pending_imported%s.csv" % (i_home,name,current)2084 not_imported_fn = "%s/import/%s _pending_not_imported%s.csv" % (i_home,name,current)2083 imported_fn = "%s/import/%ss_pending_imported%s.csv" % (i_home,name,current) 2084 not_imported_fn = "%s/import/%ss_pending_not_imported%s.csv" % (i_home,name,current) 2085 2085 attrs = csv.reader(open(pending_fn,"rb")).next() 2086 2086 else: … … 2089 2089 not_imported_fn = "%s/import/%s_not_imported%s.csv" % (i_home,filename,current) 2090 2090 attrs = csv.reader(open(import_source_fn,"rb")).next() 2091 import_keys = [k.strip() for k in attrs if not (k.strip().startswith('ignore') 2091 import_keys = [k.strip() for k in attrs if not (k.strip().startswith('ignore') 2092 2092 or k.strip() == 'Error')] 2093 2093 diff2schema = set(import_keys).difference(set(schema.keys())) -
WAeUP_SRP/uniben/profiles/default/schemas.xml
r3033 r3139 16 16 <object name="import_course_result" meta_type="CPS Schema"/> 17 17 <object name="import_department" meta_type="CPS Schema"/> 18 <object name="import_faculty" meta_type="CPS Schema"/> 18 19 <object name="import" meta_type="CPS Schema"/> 19 20 <object name="import_student" meta_type="CPS Schema"/> 20 <object name="import_student_level_data" meta_type="CPS Schema"/>21 <object name="import_student_course_results" meta_type="CPS Schema"/>22 21 <object name="import_verdict" meta_type="CPS Schema"/> 23 22 24 23 <object name="course" meta_type="CPS Schema"/> 25 24 <object name="department" meta_type="CPS Schema"/> 26 25 <object name="faculty" meta_type="CPS Schema"/> 27 <object name="import_faculty" meta_type="CPS Schema"/>28 26 <object name="members" meta_type="CPS Schema"/> 29 27 <object name="members_search" meta_type="CPS Schema"/>
Note: See TracChangeset for help on using the changeset viewer.