Changeset 3493 for WAeUP_SRP/base


Ignore:
Timestamp:
7 May 2008, 08:39:45 (17 years ago)
Author:
Henrik Bettermann
Message:

resolve ticket #366 comment 05/06/08 14:33:55

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/Widgets.py

    r3489 r3493  
    16571657            elif expiration_date and DateTime(expiration_date).lessThan(DateTime()):
    16581658                if not pins(student=ref):
    1659                     #import pdb;pdb.set_trace()
    1660                     err = 'no application record found'
    1661                     s_logger.info('%s/%s tried new application though expired with PIN %s' % (member_id,ref,pin_str))
    1662                     break
     1659                    if not self.applicants_catalog(reg_no=ref):
     1660                        err = 'no application record found'
     1661                        s_logger.info('%s/%s tried new application though expired with PIN %s' % (member_id,ref,pin_str))
     1662                        break
     1663                    else:
     1664                        s_logger.info('%s/%s entered application record which has been created by import (with PIN %s)' % (member_id,ref,pin_str))
    16631665            ok,pin_record = pins.searchAndSetRecord(pin,ref,prefix)
    16641666            if ok < -2 or ok > 2:
Note: See TracChangeset for help on using the changeset viewer.