Changeset 3249


Ignore:
Timestamp:
28 Feb 2008, 09:22:36 (17 years ago)
Author:
Henrik Bettermann
Message:

fix logger

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPImport.py

    r3248 r3249  
    8282        self.imported_fn = os.path.split(self.imported_path)[1]
    8383        iname = "import_%s" % self.name
    84         self.logger = logging.getLogger('WAeUPTool.import%s' % self.plural_name.capitalize())
     84        self.logger = logging.getLogger('WAeUPImport.%sImport' % self.plural_name.capitalize())
    8585        self.schema = self.schema_tool._getOb(iname,None)
    8686        self.pending_schema = self.schema_tool._getOb("%s_pending" % iname,None)
     
    184184            for d in departments:
    185185                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()
    187187        department_id = mapping['department_code']
    188188        msg = ''
     
    849849    commit_after = 100000
    850850    required_modes = ('create','edit')
    851    
     851
    852852    def create(self,mapping):
    853853        "edit student verdicts and create StudentStudyLevel object if not existent"
     
    926926                    level_obj.portal_workflow.doActionFor(level,'open')
    927927                except:
    928                     continue             
     928                    continue
    929929                #msg = 'student %s: no study_level object for level %s' % (student_id,
    930930                #                                                                current_level)
     
    952952            #     pass
    953953            break
    954         return student_id,msg,mapping   
     954        return student_id,msg,mapping
    955955
    956956
Note: See TracChangeset for help on using the changeset viewer.