Ignore:
Timestamp:
28 Aug 2011, 20:05:42 (13 years ago)
Author:
Henrik Bettermann
Message:

Don't add log message when no attribute has been changed, but log all transitions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py

    r6622 r6644  
    762762        self.flash('Form has been saved.')
    763763        ob_class = self.__implemented__.__name__.replace('waeup.sirp.','')
    764         self.context.loggerInfo(ob_class, 'saved: % s' % fields_string)
     764        if fields_string:
     765            self.context.loggerInfo(ob_class, 'saved: % s' % fields_string)
    765766        return
    766767
Note: See TracChangeset for help on using the changeset viewer.