Ignore:
Timestamp:
9 Nov 2007, 09:06:31 (17 years ago)
Author:
Henrik Bettermann
Message:

error messages slightly improved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/Widgets.py

    r2603 r2604  
    11971197        elif len(b) > 1 and b.find('-') > -1:
    11981198            do = 0
    1199             err = 'PIN must not contain "-"'
     1199            err = 'PIN must not contain "-".'
    12001200            s_logger.info('%s entered invalid PIN  containing "-"' % (s_id))
    12011201        elif n.find('-') > -1:
    12021202            do = 0
    1203             err = 'PIN must not contain "-"'
     1203            err = 'PIN must not contain "-".'
    12041204            s_logger.info('%s entered invalid PIN  containing "-"' % (s_id))
    12051205        elif len(n) != 10:
     
    12191219                if res and res[0].pin == pin_str:
    12201220                    do = 0
    1221                     err = 'Application PINs cannot be reused!'
     1221                    err = 'Application PINs cannot be reused.'
    12221222                    s_logger.info('%s entered same PIN as for screening application %s' % (s_id,pin_str))
    12231223
     
    12561256                    s_logger.info('%s/%s successfully used PIN %s' % (s_id,ref,pin_str))
    12571257                if student is None:
    1258                     err = "Student not found"
     1258                    err = "Student record not found."
    12591259                    s_logger.info('%s not found in admission list' % (ref))
    12601260                    break
Note: See TracChangeset for help on using the changeset viewer.