Changeset 8209 for main/waeup.kofa


Ignore:
Timestamp:
19 Apr 2012, 00:36:39 (13 years ago)
Author:
uli
Message:

Don't mark unchanged fields as changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py

    r8202 r8209  
    173173                elif value is not None:
    174174                    setattr(obj, key, value)
     175                else:
     176                    # No change, no change log
     177                    continue
    175178            items_changed += '%s=%s, ' % (key,value)
    176179        parent = self.getParent(row, site)
Note: See TracChangeset for help on using the changeset viewer.