Changeset 8412 for main/waeup.kofa/trunk/src
- Timestamp:
- 10 May 2012, 18:54:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/root.py
r8388 r8412 87 87 items = getFields(IApplicantsRoot).items() 88 88 nothing_to_do = True 89 for i in items:90 if not hasattr(app_folder,i[0]):91 nothing_to_do = False92 setattr(app_folder,i[0],i[1].missing_value)93 logger.info(94 '%s: %s added to root.' % (self.log_prefix,i[0]))89 #for i in items: 90 # if not hasattr(app_folder,i[0]): 91 # nothing_to_do = False 92 # setattr(app_folder,i[0],i[1].missing_value) 93 # logger.info( 94 # '%s: %s added to root.' % (self.log_prefix,i[0])) 95 95 # can be removed after upgrading uniben 96 if not hasattr(app_folder, 'description_dict'):97 nothing_to_do = False98 setattr(app_folder,'description_dict',{})99 logger.info(100 '%s: description_dict added to root.' % self.log_prefix)96 #if not hasattr(app_folder, 'description_dict'): 97 # nothing_to_do = False 98 # setattr(app_folder,'description_dict',{}) 99 # logger.info( 100 # '%s: description_dict added to root.' % self.log_prefix) 101 101 if nothing_to_do: 102 102 logger.info(
Note: See TracChangeset for help on using the changeset viewer.