Changeset 3249
- Timestamp:
- 28 Feb 2008, 09:22:36 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPImport.py
r3248 r3249 82 82 self.imported_fn = os.path.split(self.imported_path)[1] 83 83 iname = "import_%s" % self.name 84 self.logger = logging.getLogger('WAeUP Tool.import%s' % self.plural_name.capitalize())84 self.logger = logging.getLogger('WAeUPImport.%sImport' % self.plural_name.capitalize()) 85 85 self.schema = self.schema_tool._getOb(iname,None) 86 86 self.pending_schema = self.schema_tool._getOb("%s_pending" % iname,None) … … 184 184 for d in departments: 185 185 certificates_folder = getattr(d.getObject(),"certificates",None) 186 self._v_department_certificates[d.getId] = certificates_folder.objectIds() 186 self._v_department_certificates[d.getId] = certificates_folder.objectIds() 187 187 department_id = mapping['department_code'] 188 188 msg = '' … … 849 849 commit_after = 100000 850 850 required_modes = ('create','edit') 851 851 852 852 def create(self,mapping): 853 853 "edit student verdicts and create StudentStudyLevel object if not existent" … … 926 926 level_obj.portal_workflow.doActionFor(level,'open') 927 927 except: 928 continue 928 continue 929 929 #msg = 'student %s: no study_level object for level %s' % (student_id, 930 930 # current_level) … … 952 952 # pass 953 953 break 954 return student_id,msg,mapping 954 return student_id,msg,mapping 955 955 956 956
Note: See TracChangeset for help on using the changeset viewer.