Ignore:
Timestamp:
10 Dec 2014, 14:07:27 (10 years ago)
Author:
Henrik Bettermann
Message:

Do not import codes with spaces.

File:
1 edited

Legend:

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

    r11849 r12191  
    271271        errs, inv_errs, conv_dict =  converter.fromStringDict(
    272272            row, self.factory_name, mode=mode)
     273        if 'code' in row and ' ' in row['code']:
     274            errs.append(('code','must not contain spaces'))
    273275        return errs, inv_errs, conv_dict
    274276
Note: See TracChangeset for help on using the changeset viewer.