Changeset 14652


Ignore:
Timestamp:
24 Mar 2017, 06:45:54 (8 years ago)
Author:
Henrik Bettermann
Message:

Log also certificate code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/university/certificate.py

    r14651 r14652  
    277277                    setattr(o,i[0],i[1].missing_value)
    278278                    logger.info(
    279                         'CertificateCoursesPlugin: %s_%s attribute %s added.' % (
    280                         o.course.code,o.level,i[0]))
     279                        'CertificateCoursesPlugin: %s/%s_%s attribute %s added.' % (
     280                        o.__parent__.code,o.course.code,o.level,i[0]))
    281281            # Remove deprecated attributes
    282282            for i in self.deprecated_attributes:
     
    284284                    delattr(o,i)
    285285                    logger.info(
    286                         'CertificateCoursesPlugin: %s_%s attribute %s deleted.' % (
    287                         o.course.code,o.level,i))
     286                        'CertificateCoursesPlugin: %s/%s_%s attribute %s deleted.' % (
     287                        o.__parent__.code,o.course.code,o.level,i))
    288288                except AttributeError:
    289289                    pass
Note: See TracChangeset for help on using the changeset viewer.