Changeset 1919 for WAeUP_SRP


Ignore:
Timestamp:
18 Jun 2007, 07:35:47 (17 years ago)
Author:
Henrik Bettermann
Message:

try to solve ticket #214

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_utilities/addId2ReturningImport.py

    r1699 r1919  
    4444        rwrite("%(mcount)d : %(matric_no)s not found in returning_import" % data)
    4545        continue
    46     self.returning_import.modifyRecord(**data)
     46    try:
     47        self.returning_import.modifyRecord(**data)
     48    except:
     49        mcount += 1
     50        data['mcount'] = mcount
     51        rwrite("%(mcount)d : %(matric_no)s not unique in returning_import" % data)
     52        continue
    4753    count += 1
    4854    data['count'] = count
Note: See TracChangeset for help on using the changeset viewer.