Ignore:
Timestamp:
25 Apr 2015, 06:13:18 (10 years ago)
Author:
Henrik Bettermann
Message:

More docs.

File:
1 edited

Legend:

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

    r12882 r12883  
    296296        errs, inv_errs, conv_dict =  converter.fromStringDict(
    297297            row, self.factory_name, mode=mode)
     298        # We cannot import both state and transition.
     299        if 'transition' in row and 'state' in row:
     300            if row['transition'] not in (IGNORE_MARKER, '') and \
     301                row['state'] not in (IGNORE_MARKER, ''):
     302                errs.append(('workflow','not allowed'))
     303                return errs, inv_errs, conv_dict
    298304        if 'transition' in row:
    299305            if row['transition'] not in IMPORTABLE_TRANSITIONS:
Note: See TracChangeset for help on using the changeset viewer.